Sha256: be0b858014e7ad518cfbca5c05af576994155492193d30968e4303e9e6882da5

Contents?: true

Size: 419 Bytes

Versions: 52

Compression:

Stored size: 419 Bytes

Contents

# This migration comes from cmor_cms (originally 8)
class CreateCmorCmsContentBlocks < ActiveRecord::Migration[4.2]
  def change
    create_table :cmor_cms_content_blocks do |t|
      t.text :body

      # associations
      t.references :page
      t.references :content_box

      t.timestamps
    end
    add_index :cmor_cms_content_blocks, :page_id
    add_index :cmor_cms_content_blocks, :content_box_id
  end
end

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
cmor_cms_backend-0.0.53.pre spec/dummy/db/migrate/20200119053435_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.52.pre spec/dummy/db/migrate/20200119053435_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.51.pre spec/dummy/db/migrate/20200119053435_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_legal-0.0.51.pre spec/dummy/db/migrate/20200302113759_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.50.pre spec/dummy/db/migrate/20200119053435_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_legal-0.0.50.pre spec/dummy/db/migrate/20200302113759_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.49.pre spec/dummy/db/migrate/20200119053435_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_legal-0.0.49.pre spec/dummy/db/migrate/20200302113759_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.48.pre spec/dummy/db/migrate/20200119053435_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_legal-0.0.48.pre spec/dummy/db/migrate/20200302113759_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.45.pre spec/dummy/db/migrate/20200119053435_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.44.pre spec/dummy/db/migrate/20200119053435_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.43.pre spec/dummy/db/migrate/20200119053435_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.42.pre spec/dummy/db/migrate/20200119053435_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.41.pre spec/dummy/db/migrate/20200119053435_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.40.pre spec/dummy/db/migrate/20190612145126_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.39.pre spec/dummy/db/migrate/20190612145126_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.38.pre spec/dummy/db/migrate/20190612145126_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.37.pre spec/dummy/db/migrate/20190612145126_create_cmor_cms_content_blocks.cmor_cms.rb
cmor_cms_backend-0.0.36.pre spec/dummy/db/migrate/20190612145126_create_cmor_cms_content_blocks.cmor_cms.rb