twenty/hasura/migrations/default/1682338781740_squashed/down.sql

11 lines
360 B
MySQL
Raw Normal View History

2023-04-24 18:00:14 +03:00
alter table "public"."workspaces" rename column "domain_name" to "name";
2023-04-24 15:50:48 +03:00
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;
2023-04-24 18:00:14 +03:00
DROP TABLE "public"."workspace_members";