mirror of
https://github.com/SrIzan10/hc-identity-vault.git
synced 2026-05-01 10:45:20 +00:00
dang it!
This commit is contained in:
5
db/migrate/20250902193412_add_extra_data_to_versions.rb
Normal file
5
db/migrate/20250902193412_add_extra_data_to_versions.rb
Normal 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
3
db/schema.rb
generated
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user