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-5.2.3 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.2.2 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.2.1 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.2.0 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.1.0 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.0.9 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.0.7 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.0.6 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.0.5 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.0.4 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.0.3 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.0.2 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.0.1 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-4.3.5 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-5.0.0 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-4.3.4 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-4.3.3 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-4.3.2 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-4.3.1 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-4.3 db/migrate/009_add_content_type_field_to_layout.rb