Sha256: e38a206c29915501d038f43268c71dcb1a066994a1875f51584abbc51a2a005f

Contents?: true

Size: 422 Bytes

Versions: 6

Compression:

Stored size: 422 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
ecm_cms2-5.1.2 db/migrate/004_create_ecm_cms_partials.rb
ecm_cms2-5.1.1 db/migrate/004_create_ecm_cms_partials.rb
ecm_cms2-5.1.0 db/migrate/004_create_ecm_cms_partials.rb
ecm_cms2-5.0.0 db/migrate/004_create_ecm_cms_partials.rb
ecm_cms2-4.1.1 db/migrate/004_create_ecm_cms_partials.rb
ecm_cms2-4.1.0 db/migrate/004_create_ecm_cms_partials.rb