Sha256: c55eb3b39335be98181592cf6e9c6c8a304d2b6d6285d966d292c3860aee07c8

Contents?: true

Size: 435 Bytes

Versions: 3

Compression:

Stored size: 435 Bytes

Contents

class CreatePandaCMSPageVersions < ActiveRecord::Migration[7.1]
  def change
    create_table :panda_cms_page_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_page_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/20240219213327_create_panda_cms_page_versions.rb
panda-cms-0.7.2 db/migrate/20240219213327_create_panda_cms_page_versions.rb
panda-cms-0.7.0 db/migrate/20240219213327_create_panda_cms_page_versions.rb