Sha256: 36ced782b90443fd9a10f834e43ee841ff89b8e5b7260a02ef7d3058f5cc73a9

Contents?: true

Size: 220 Bytes

Versions: 106

Compression:

Stored size: 220 Bytes

Contents

class AddContentTypeFieldToLayout < ActiveRecord::Migration[5.2]
  def self.up
    add_column "layouts", "content_type", :string, :limit => 40
  end

  def self.down
    remove_column "layouts", "content_type"
  end
end

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
trusty-cms-6.3.1 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-7.0.2 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-7.0.1 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-7.0.0 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.3 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.2.1 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.2.2.1 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.2.0 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.1.2 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.1.1 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.0.5 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.0.4 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.0.3 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.0.2 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.0.1 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.6.1 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-6.0.0 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.6.0 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.5.9 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.5.8 db/migrate/009_add_content_type_field_to_layout.rb