Sha256: 53ea71650880532a6d50da58d698636108eff17e6f140169cd64bbf0f828d24d

Contents?: true

Size: 402 Bytes

Versions: 6

Compression:

Stored size: 402 Bytes

Contents

class CreateEcmCmsTemplates < ActiveRecord::Migration[4.2]
  def change
    create_table :ecm_cms_templates do |t|
      t.string :basename
      t.string :pathname
      t.text :body
      t.string :locale
      t.string :format
      t.string :handler

      # associations
      t.references :ecm_cms_folder

      t.timestamps
    end
    add_index :ecm_cms_templates, :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/003_create_ecm_cms_templates.rb
ecm_cms2-5.1.1 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-5.1.0 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-5.0.0 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-4.1.1 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-4.1.0 db/migrate/003_create_ecm_cms_templates.rb