From dac85d32dbe2ea8512ee9244a40824dd8137a7d4 Mon Sep 17 00:00:00 2001 From: Pacien Boisson Date: Thu, 11 Feb 2021 18:43:30 +0400 Subject: [PATCH] Use timestamptz instead of date --- hasura/migrations/1612970700332_quests/up.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hasura/migrations/1612970700332_quests/up.sql b/hasura/migrations/1612970700332_quests/up.sql index eebc6c64..ec96e2e5 100644 --- a/hasura/migrations/1612970700332_quests/up.sql +++ b/hasura/migrations/1612970700332_quests/up.sql @@ -26,7 +26,7 @@ INSERT INTO "public"."QuestCompletionStatus" ("status") VALUES CREATE TABLE "public"."quest" ( "id" uuid NOT NULL DEFAULT gen_random_uuid(), - "created_at" date NOT NULL DEFAULT now(), + "created_at" timestamptz NOT NULL DEFAULT now(), "guild_id" uuid NOT NULL, "created_by_player_id" uuid NOT NULL, "title" text NOT NULL, @@ -53,7 +53,7 @@ CREATE TABLE "public"."quest_skill"( CREATE TABLE "public"."quest_completion"( "quest_id" uuid NOT NULL, "completed_by_player_id" uuid NOT NULL, - "submitted_at" date NOT NULL DEFAULT now(), + "submitted_at" timestamptz NOT NULL DEFAULT now(), "submission_text" text, "submission_link" text, "status" text NOT NULL DEFAULT 'PENDING',