Remove engagements

We are not using this anymore!
This commit is contained in:
Jorge Manrubia
2025-12-19 13:10:11 +01:00
committed by Jorge Manrubia
parent e34716a537
commit 6d05ab428e
6 changed files with 18 additions and 50 deletions
@@ -0,0 +1,16 @@
class DropCardEngagements < ActiveRecord::Migration[8.2]
def up
drop_table :card_engagements
end
def down
create_table :card_engagements, id: :uuid do |t|
t.references :account, type: :uuid, null: false
t.references :card, type: :uuid, null: false, index: true
t.string :status, null: false
t.timestamps
end
add_index :card_engagements, [ :account_id, :status ]
end
end