fix: correct cancel_reason column name to cancellation_reason

Also add migration to drop remaining auth.users FK constraints
on p2p_messages, notifications, ratings, audit_log tables.
This commit is contained in:
2026-02-24 05:34:42 +03:00
parent 0a9349f2b3
commit d380e6a3cd
2 changed files with 32 additions and 1 deletions
+1 -1
View File
@@ -888,7 +888,7 @@ export async function cancelTrade(
.update({
status: 'cancelled',
cancelled_by: cancelledBy,
cancel_reason: reason,
cancellation_reason: reason,
})
.eq('id', tradeId);