mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-05-19 00:29:24 -05:00
651be542c3
* fix: migration state * almost there... * fix: hack for constraints * chore: lint
6 lines
286 B
SQL
6 lines
286 B
SQL
-- NOTE: this is a SQL script file that contains the constraints for the database
|
|
-- it is needed because prisma does not support constraints yet
|
|
|
|
-- Modify "QueueItem" table
|
|
ALTER TABLE "QueueItem" ADD CONSTRAINT "QueueItem_priority_check" CHECK ("priority" >= 1 AND "priority" <= 4);
|