This commit is contained in:
24c02
2025-09-02 15:36:26 -04:00
parent 642d427c65
commit 061844aa48
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
class AddExtraDataToVersions < ActiveRecord::Migration[8.0]
def change
add_column :versions, :extra_data, :jsonb
end
end

3
db/schema.rb generated
View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2025_08_22_205652) do
ActiveRecord::Schema[8.0].define(version: 2025_09_02_193412) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_catalog.plpgsql"
enable_extension "pgcrypto"
@@ -440,6 +440,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_08_22_205652) do
t.string "event", null: false
t.text "object"
t.jsonb "object_changes"
t.jsonb "extra_data"
t.index ["item_type", "item_id"], name: "index_versions_on_item_type_and_item_id"
end