diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 8757e7bf..8e4b30c5 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -791,7 +791,8 @@ "Bash(ssh -o ProxyJump=ceshi@103.39.231.231 ceshi@192.168.1.111 \"ls -la /home/ceshi/rwadurian/backend/services/\")", "Bash(where:*)", "Bash(npx md-to-pdf:*)", - "Bash(ssh -J ceshi@103.39.231.231 ceshi@192.168.1.111 \"curl -s ''http://localhost:3000/api/price/klines?period=1h&limit=5'' | head -500\")" + "Bash(ssh -J ceshi@103.39.231.231 ceshi@192.168.1.111 \"curl -s ''http://localhost:3000/api/price/klines?period=1h&limit=5'' | head -500\")", + "Bash(dir /b /ad \"c:\\\\Users\\\\dong\\\\Desktop\\\\rwadurian\\\\backend\")" ], "deny": [], "ask": [] diff --git a/backend/services/trading-service/prisma/migrations/0009_add_original_quantity/migration.sql b/backend/services/trading-service/prisma/migrations/0009_add_original_quantity/migration.sql new file mode 100644 index 00000000..608867f4 --- /dev/null +++ b/backend/services/trading-service/prisma/migrations/0009_add_original_quantity/migration.sql @@ -0,0 +1,2 @@ +-- Add original_quantity column to trades table +ALTER TABLE "trades" ADD COLUMN IF NOT EXISTS "original_quantity" DECIMAL(30, 8) NOT NULL DEFAULT 0;