Skip to content

Commit d25e156

Browse files
authored
ENG-529-add-target-type-column (#276)
1 parent de16079 commit d25e156

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE public.sync_info ADD COLUMN target_type public."EntityType" NOT NULL DEFAULT 'Space'::public."EntityType";

packages/database/supabase/schemas/sync.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ALTER TYPE public.task_status OWNER TO "postgres";
1010
CREATE TABLE IF NOT EXISTS public.sync_info (
1111
id integer NOT NULL,
1212
sync_target bigint,
13+
target_type public."EntityType" NOT NULL DEFAULT 'Space'::public."EntityType",
1314
sync_function character varying(20),
1415
status public.task_status DEFAULT 'active'::public.task_status,
1516
worker character varying(100) NOT NULL,

0 commit comments

Comments
 (0)