From 6356755f06ce809a24e767bff2543f80e010bd89 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 14 May 2020 23:41:42 +0200 Subject: [PATCH] :tada: Add priority field to tasks table. --- backend/resources/migrations/0004.tasks.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/resources/migrations/0004.tasks.sql b/backend/resources/migrations/0004.tasks.sql index caee1d868e..d6ad88a7bf 100644 --- a/backend/resources/migrations/0004.tasks.sql +++ b/backend/resources/migrations/0004.tasks.sql @@ -5,6 +5,7 @@ CREATE TABLE task ( modified_at timestamptz NOT NULL DEFAULT clock_timestamp(), completed_at timestamptz NULL DEFAULT NULL, scheduled_at timestamptz NOT NULL, + priority smallint DEFAULT 100, queue text NOT NULL,