Sha256: b0704c6ae3850afe6f6e6335bb196ce41a72a558777aee7a586e9b31b1051d88

Contents?: true

Size: 439 Bytes

Versions: 35

Compression:

Stored size: 439 Bytes

Contents

class CreateEcmCmsPages < ActiveRecord::Migration
  def change
    create_table :ecm_cms_pages do |t|
      t.string :basename
      t.string :pathname
      t.string :title
      t.text :meta_description
      t.text :body
      t.string :layout
      t.string :locale
      t.string :format
      t.string :handler
      t.references :ecm_cms_folder

      t.timestamps
    end
    add_index :ecm_cms_pages, :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/002_create_ecm_cms_pages.rb
ecm_cms-1.0.2.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-1.0.1.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-1.0.0.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-0.0.13.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-0.0.11.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-0.0.10.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-0.0.8.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-0.0.7.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-0.0.6.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-0.0.5.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-0.0.4.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-0.0.3.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-0.0.2.pre db/migrate/002_create_ecm_cms_pages.rb
ecm_cms-0.0.1.pre db/migrate/002_create_ecm_cms_pages.rb