mirror of https://github.com/ghostfolio/ghostfolio
2 changed files with 12 additions and 1 deletions
@ -0,0 +1,5 @@ |
|||||
|
-- Remove redundant currency from the 'Order' table |
||||
|
UPDATE "Order" |
||||
|
SET "currency" = NULL |
||||
|
FROM "SymbolProfile" |
||||
|
WHERE "Order"."symbolProfileId" = "SymbolProfile"."id" AND "Order"."currency" = "SymbolProfile"."currency"; |
Loading…
Reference in new issue