-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ | |
.env | ||
./node_modules/* | ||
node_modules | ||
.DS_Store | ||
.DS_Store | ||
priivate-scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
supabase/migrations/20231110202445_add_quill_body_format_type.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
drop trigger if exists "on_project_document_created" on "public"."project_documents"; | ||
|
||
drop trigger if exists "on_project_document_updated" on "public"."project_documents"; | ||
|
||
drop policy "Users with correct policies can DELETE on project_documents" on "public"."project_documents"; | ||
|
||
drop policy "Users with correct policies can INSERT on project_documents" on "public"."project_documents"; | ||
|
||
drop policy "Users with correct policies can SELECT on project_documents" on "public"."project_documents"; | ||
|
||
drop policy "Users with correct policies can UPDATE on project_documents" on "public"."project_documents"; | ||
|
||
alter table "public"."project_documents" drop constraint "project_documents_created_by_fkey"; | ||
|
||
alter table "public"."project_documents" drop constraint "project_documents_document_id_fkey"; | ||
|
||
alter table "public"."project_documents" drop constraint "project_documents_project_id_fkey"; | ||
|
||
alter table "public"."project_documents" drop constraint "project_documents_updated_by_fkey"; | ||
|
||
alter table "public"."project_documents" drop constraint "project_documents_pkey"; | ||
|
||
drop index if exists "public"."project_documents_pkey"; | ||
|
||
drop table "public"."project_documents"; | ||
|
||
alter type "public"."body_formats" rename to "body_formats__old_version_to_be_dropped"; | ||
|
||
create type "public"."body_formats" as enum ('TextPlain', 'TextHtml', 'Quill'); | ||
|
||
alter table "public"."bodies" alter column format type "public"."body_formats" using format::text::"public"."body_formats"; | ||
|
||
drop type "public"."body_formats__old_version_to_be_dropped"; | ||
|
||
alter table "public"."bodies" drop column "render_type"; | ||
|
||
drop type "public"."render_type_types"; | ||
|
||
|