summaryrefslogtreecommitdiff
path: root/db/migrations/0266_previous_bucky.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/0266_previous_bucky.sql')
-rw-r--r--db/migrations/0266_previous_bucky.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/migrations/0266_previous_bucky.sql b/db/migrations/0266_previous_bucky.sql
new file mode 100644
index 00000000..a54e851f
--- /dev/null
+++ b/db/migrations/0266_previous_bucky.sql
@@ -0,0 +1,4 @@
+ALTER TABLE "document_number_type_configs" DROP CONSTRAINT "document_number_type_configs_document_number_type_id_document_number_types_id_fk";
+--> statement-breakpoint
+ALTER TABLE "tag_type_class_form_mappings" ALTER COLUMN "remark" SET DATA TYPE text;--> statement-breakpoint
+ALTER TABLE "document_number_type_configs" ADD CONSTRAINT "document_number_type_configs_document_number_type_id_document_number_types_id_fk" FOREIGN KEY ("document_number_type_id") REFERENCES "public"."document_number_types"("id") ON DELETE cascade ON UPDATE no action; \ No newline at end of file