targo-backend/prisma/postgres/migrations/20250818121746_/migration.sql

2 lines
79 B
SQL

ALTER TABLE "blobs"
ADD CONSTRAINT blobs_refcount_nonneg CHECK (refcount >= 0);