Sha256: 7d33e9ff2ba2c58d61a967a70eb62f77f3f05aeaaaa33604f0901ee04ecbc344

Contents?: true

Size: 409 Bytes

Versions: 24

Compression:

Stored size: 409 Bytes

Contents

class CreateEcmCmsPageContentBlocks < ActiveRecord::Migration
  def change
    create_table :ecm_cms_page_content_blocks do |t|
      t.text :body

      # associations
      t.references :ecm_cms_page
      t.references :ecm_cms_content_box

      t.timestamps
    end
    add_index :ecm_cms_page_content_blocks, :ecm_cms_page_id
    add_index :ecm_cms_page_content_blocks, :ecm_cms_content_box_id
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
ecm_cms2-4.0.1 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-4.0.0 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-3.0.3 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-3.0.2 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-3.0.1 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-3.0.0 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-2.1.4 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-2.1.3 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-2.1.2 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-2.1.1 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-2.1.0 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-2.0.4 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-2.0.3 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-2.0.2 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-1.1.1 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-1.1.0 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-1.0.1 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms-1.0.5.pre db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms2-1.0.0 db/migrate/008_create_ecm_cms_page_content_blocks.rb
ecm_cms-1.0.4.pre db/migrate/008_create_ecm_cms_page_content_blocks.rb