Sha256: ffe3dd4901ba5f007c4e4af50223be5b4d9d75ea99ce9271c9fcaa807861f533

Contents?: true

Size: 480 Bytes

Versions: 5

Compression:

Stored size: 480 Bytes

Contents

# This migration comes from ecm_cms_engine (originally 4)
class CreateEcmCmsPartials < ActiveRecord::Migration[4.2]
  def change
    create_table :ecm_cms_partials do |t|
      t.string :basename
      t.string :pathname
      t.text :body
      t.string :layout
      t.string :locale
      t.string :format
      t.string :handler

      # associations
      t.references :ecm_cms_folder

      t.timestamps
    end
    add_index :ecm_cms_partials, :ecm_cms_folder_id
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_cms2_backend-1.3.2 spec/dummy/db/migrate/20151126215843_create_ecm_cms_partials.ecm_cms_engine.rb
ecm_cms2_backend-1.3.1 spec/dummy/db/migrate/20151126215843_create_ecm_cms_partials.ecm_cms_engine.rb
ecm_cms2_backend-1.3.0 spec/dummy/db/migrate/20151126215843_create_ecm_cms_partials.ecm_cms_engine.rb
ecm_cms2_backend-1.2.3 spec/dummy/db/migrate/20151126215843_create_ecm_cms_partials.ecm_cms_engine.rb
ecm_cms2_backend-1.2.2 spec/dummy/db/migrate/20151126215843_create_ecm_cms_partials.ecm_cms_engine.rb