twenty/hasura/migrations/default/1682338781740_squashed/down.sql
Charles Bochet 7ae7efb523 Fix
2023-04-24 17:00:14 +02:00

11 lines
360 B
SQL

alter table "public"."workspaces" rename column "domain_name" to "name";
alter table "public"."workspaces" add constraint "workspaces_domain_name_key" unique (domain_name);
alter table "public"."workspaces" alter column "domain_name" drop not null;
alter table "public"."workspaces" add column "domain_name" text;
DROP TABLE "public"."workspace_members";