Sha256: 1623b34df70e3db88383e4eb2efc4173f5f0ba1e7528a7ee5b9c89003d8881e6

Contents?: true

Size: 386 Bytes

Versions: 3

Compression:

Stored size: 386 Bytes

Contents

class CreatePandaCMSBlockContents < ActiveRecord::Migration[7.1]
  def change
    create_table :panda_cms_block_contents, id: :uuid do |t|
      t.references :panda_cms_page, null: false, foreign_key: true, type: :uuid
      t.references :panda_cms_block, null: false, foreign_key: true, type: :uuid
      t.jsonb :content, null: false, default: {}
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
panda-cms-0.7.3 db/migrate/20240303024256_create_panda_cms_block_contents.rb
panda-cms-0.7.2 db/migrate/20240303024256_create_panda_cms_block_contents.rb
panda-cms-0.7.0 db/migrate/20240303024256_create_panda_cms_block_contents.rb