Sha256: 49639a9d8dfcaca23b03033e180668109f9eee65b48a7fde7b5c64d2c69170c7

Contents?: true

Size: 506 Bytes

Versions: 2

Compression:

Stored size: 506 Bytes

Contents

# This migration comes from ecm_cms_core_engine (originally 2)
class CreateEcmCmsCoreTemplates < ActiveRecord::Migration
  def change
    create_table :ecm_cms_core_templates do |t|
      t.references :folder
      t.string :pathname
      t.string :basename
      t.string :title
      t.text :meta_description
      t.text :body
      t.string :layout
      t.string :locale
      t.string :format
      t.string :handler
      t.boolean :partial, :default => false

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_cms_core-0.0.3 test/dummy/db/migrate/20120622211433_create_ecm_cms_core_templates.ecm_cms_core_engine.rb
ecm_cms_core-0.0.2 test/dummy/db/migrate/20120622211433_create_ecm_cms_core_templates.ecm_cms_core_engine.rb