Sha256: b3e7c856c828ce4c762ad3b207bfb113dd2ab2aa9258230f4af53fcf1b7faf3f

Contents?: true

Size: 461 Bytes

Versions: 3

Compression:

Stored size: 461 Bytes

Contents

class CreatePandaCMSBlockContentVersions < ActiveRecord::Migration[7.1]
  def change
    create_table :panda_cms_block_content_versions, id: :uuid do |t|
      t.string :item_type, null: false
      t.string :item_id, null: false
      t.string :event, null: false
      t.string :whodunnit
      t.jsonb :object
      t.jsonb :object_changes
      t.datetime :created_at
    end
    add_index :panda_cms_block_content_versions, %i[item_type item_id]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
panda-cms-0.7.3 db/migrate/20240303024746_create_panda_cms_block_content_versions.rb
panda-cms-0.7.2 db/migrate/20240303024746_create_panda_cms_block_content_versions.rb
panda-cms-0.7.0 db/migrate/20240303024746_create_panda_cms_block_content_versions.rb