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