Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🀍

218 B
Raw Blame
-- Remove redundant currency from the 'Order' table
UPDATE "Order"
SET "currency" = NULL
FROM "SymbolProfile"
WHERE "Order"."symbolProfileId" = "SymbolProfile"."id" AND "Order"."currency" = "SymbolProfile"."currency";