From 432db15dc990b6be6da9b987bace56d27459adc0 Mon Sep 17 00:00:00 2001 From: "raoha.rh" Date: Wed, 21 Aug 2024 21:51:53 +0800 Subject: [PATCH] feat: migrations --- .../migrations/20240821134902_remote_schema.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 migrations/supabase/migrations/20240821134902_remote_schema.sql diff --git a/migrations/supabase/migrations/20240821134902_remote_schema.sql b/migrations/supabase/migrations/20240821134902_remote_schema.sql new file mode 100644 index 00000000..eec264b2 --- /dev/null +++ b/migrations/supabase/migrations/20240821134902_remote_schema.sql @@ -0,0 +1,13 @@ +alter table "public"."github_repo_config" alter column "id" set default gen_random_uuid(); + +alter table "public"."github_repo_config" alter column "id" drop identity; + +alter table "public"."github_repo_config" alter column "id" set data type uuid using "id"::uuid; + +alter table "public"."github_repo_config" alter column "repo_name" drop default; + +alter table "public"."github_repo_config" alter column "robot_id" drop default; + +alter table "public"."github_repo_config" disable row level security; + +