Skip to content

Commit 64a03b5

Browse files
committed
fix parent link migration
1 parent 1546c2c commit 64a03b5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-- public.digger_job_parent_links definition
2+
3+
-- Drop table
4+
5+
DROP TABLE public.digger_job_parent_links;
6+
7+
CREATE TABLE public.digger_job_parent_links (
8+
id bigserial NOT NULL,
9+
created_at timestamptz NULL,
10+
updated_at timestamptz NULL,
11+
deleted_at timestamptz NULL,
12+
digger_job_id text NULL,
13+
parent_digger_job_id text NULL,
14+
CONSTRAINT digger_job_parent_links_pkey PRIMARY KEY (id)
15+
);
16+
CREATE INDEX idx_digger_job_parent_links_deleted_at ON public.digger_job_parent_links USING btree (deleted_at);

0 commit comments

Comments
 (0)