diff --git a/packages/database/drizzle/0086_report_table_enum_update.sql b/packages/database/drizzle/0086_report_table_enum_update.sql index 1b97c2a1d..0c8e68cfb 100644 --- a/packages/database/drizzle/0086_report_table_enum_update.sql +++ b/packages/database/drizzle/0086_report_table_enum_update.sql @@ -1,2 +1,3 @@ ALTER TYPE "public"."asset_type_enum" ADD VALUE 'report_file';--> statement-breakpoint -ALTER TABLE "asset_search" ALTER COLUMN "asset_type" SET DATA TYPE "public"."asset_type_enum" USING "asset_type"::"public"."asset_type_enum"; \ No newline at end of file +-- Commented out bc asset search asset type should stay as text for now +-- ALTER TABLE "asset_search" ALTER COLUMN "asset_type" SET DATA TYPE "public"."asset_type_enum" USING "asset_type"::"public"."asset_type_enum"; \ No newline at end of file diff --git a/packages/database/drizzle/0087_create_report_table_foreign_keys.sql b/packages/database/drizzle/0087_create_report_table_foreign_keys.sql index 074b44aa3..7a7fa869e 100644 --- a/packages/database/drizzle/0087_create_report_table_foreign_keys.sql +++ b/packages/database/drizzle/0087_create_report_table_foreign_keys.sql @@ -1,5 +1,5 @@ ALTER TABLE "report_files" ADD CONSTRAINT "report_files_organization_id_fkey" FOREIGN KEY ("organization_id") REFERENCES "public"."organizations"("id") ON DELETE no action ON UPDATE cascade; -ALTER TABLE "asset_search" ALTER COLUMN "asset_type" SET DATA TYPE text;--> statement-breakpoint +-- ALTER TABLE "asset_search" ALTER COLUMN "asset_type" SET DATA TYPE text;--> statement-breakpoint ALTER TABLE "dashboard_files" ALTER COLUMN "content" SET DEFAULT '[]'::jsonb; \ No newline at end of file diff --git a/packages/database/drizzle/0088_puzzling_vanisher.sql b/packages/database/drizzle/0088_puzzling_vanisher.sql index 22e1d1bd9..7f647ba33 100644 --- a/packages/database/drizzle/0088_puzzling_vanisher.sql +++ b/packages/database/drizzle/0088_puzzling_vanisher.sql @@ -1,3 +1,3 @@ -ALTER TABLE "asset_search" ALTER COLUMN "asset_type" SET DATA TYPE text;--> statement-breakpoint +-- ALTER TABLE "asset_search" ALTER COLUMN "asset_type" SET DATA TYPE text;--> statement-breakpoint ALTER TABLE "dashboard_files" ALTER COLUMN "content" SET DEFAULT '[]'::jsonb;--> statement-breakpoint ALTER TABLE "report_files" ALTER COLUMN "content" SET DATA TYPE text; \ No newline at end of file