Skip to content

Commit a994398

Browse files
committed
Add check for Sub.replyCost > 0
1 parent 2038701 commit a994398

File tree

1 file changed

+2
-0
lines changed
  • prisma/migrations/20250312223725_check_reply_cost_positive

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- Add constraint to ensure replyCost is positive
2+
ALTER TABLE "Sub" ADD CONSTRAINT "Sub_replyCost_positive" CHECK ("replyCost" > 0);

0 commit comments

Comments
 (0)