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_cms2-4.0.1 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-4.0.0 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-3.0.3 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-3.0.2 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-3.0.1 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-3.0.0 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-2.1.4 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-2.1.3 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-2.1.2 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-2.1.1 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-2.1.0 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-2.0.4 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-2.0.3 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-2.0.2 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-1.1.1 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-1.1.0 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-1.0.1 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-1.0.5.pre db/migrate/003_create_ecm_cms_templates.rb
ecm_cms2-1.0.0 db/migrate/003_create_ecm_cms_templates.rb
ecm_cms-1.0.4.pre db/migrate/003_create_ecm_cms_templates.rb