From 1546c2c40dd89ed421e74c25cdaab6b29862add6 Mon Sep 17 00:00:00 2001 From: motatoes Date: Sun, 21 Jul 2024 12:11:19 +0100 Subject: [PATCH] add job parent links table --- .../20240721110522_digger_job_parent_link.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 supabase/migrations/20240721110522_digger_job_parent_link.sql diff --git a/supabase/migrations/20240721110522_digger_job_parent_link.sql b/supabase/migrations/20240721110522_digger_job_parent_link.sql new file mode 100644 index 00000000..d2c65c14 --- /dev/null +++ b/supabase/migrations/20240721110522_digger_job_parent_link.sql @@ -0,0 +1,14 @@ +CREATE TABLE public.digger_job_parent_links ( + id uuid not null default gen_random_uuid (), + created_at timestamptz NULL, + updated_at timestamptz NULL, + deleted_at timestamptz NULL, + github_installation_id int8 NULL, + github_app_id int8 NULL, + account_id int8 NULL, + login text NULL, + repo text NULL, + status int8 NULL, + CONSTRAINT digger_job_parent_links_pkey PRIMARY KEY (id) +); +CREATE INDEX idx_digger_job_parent_links_deleted_at ON public.digger_job_parent_links USING btree (deleted_at); \ No newline at end of file