3 lines
164 B
SQL
3 lines
164 B
SQL
-- remove incorrectly assigned repaid order ids
|
|
update inquiries set repaid_order_id = null where repaid_order_id is not null and pre_payment_order_row_id is null;
|