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:
Kurdistan Tech Ministry committed 2026-02-24 05:34:42 +03:00
1 parent 0a9349f2b3
commit d380e6a3cd
2 files changed
+32 -1

No files matched your search

+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);