Sha256: 514e52f12694cdd0d45c812e86634c8d6c4e4c133cc636df6147d28ba2279e8b

Contents?: true

Size: 397 Bytes

Versions: 35

Compression:

Stored size: 397 Bytes

Contents

class CreateEcmCmsTemplates < ActiveRecord::Migration
  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

35 entries across 35 versions & 2 rubygems

Version Path
ecm_cms-1.0.3.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-1.0.2.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-1.0.1.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-1.0.0.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-0.0.13.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-0.0.11.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-0.0.10.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-0.0.8.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-0.0.7.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-0.0.6.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-0.0.5.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-0.0.4.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-0.0.3.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-0.0.2.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-0.0.1.pre db/migrate/003_create_ecm_cms_templates.rb