From eb33384a4d6b9a1cb86581ce29a169386d7a704f Mon Sep 17 00:00:00 2001 From: motatoes Date: Sun, 21 Jul 2024 12:28:59 +0100 Subject: [PATCH] add digger job token table --- .../migrations/20240721112709_digger_job_tokens.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 supabase/migrations/20240721112709_digger_job_tokens.sql diff --git a/supabase/migrations/20240721112709_digger_job_tokens.sql b/supabase/migrations/20240721112709_digger_job_tokens.sql new file mode 100644 index 00000000..c2fededb --- /dev/null +++ b/supabase/migrations/20240721112709_digger_job_tokens.sql @@ -0,0 +1,12 @@ +CREATE TABLE public.digger_job_tokens ( + id bigserial NOT NULL, + created_at timestamptz NULL, + updated_at timestamptz NULL, + deleted_at timestamptz NULL, + value text NULL, + expiry timestamptz NULL, + organisation_id int8 NULL, + "type" text NULL, + CONSTRAINT job_tokens_pkey PRIMARY KEY (id) +); +CREATE INDEX idx_job_tokens_deleted_at ON public.digger_job_tokens USING btree (deleted_at); \ No newline at end of file