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-3.5.0 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-3.4.0 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-3.3.7 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-3.3.6 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-3.3.5 db/migrate/009_add_content_type_field_to_layout.rb
trusty-cms-3.3.3 db/migrate/009_add_content_type_field_to_layout.rb