Sha256: 0faec65c61e822d89cfc466494d5c8665bd470a84dc8550d04c3c542e9bf66aa

Contents?: true

Size: 443 Bytes

Versions: 6

Compression:

Stored size: 443 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
ecm_cms_core-0.0.8 db/migrate/002_create_ecm_cms_core_templates.rb
ecm_cms_core-0.0.7 db/migrate/002_create_ecm_cms_core_templates.rb
ecm_cms_core-0.0.6 db/migrate/002_create_ecm_cms_core_templates.rb
ecm_cms_core-0.0.5 db/migrate/002_create_ecm_cms_core_templates.rb
ecm_cms_core-0.0.3 db/migrate/002_create_ecm_cms_core_templates.rb
ecm_cms_core-0.0.2 db/migrate/002_create_ecm_cms_core_templates.rb