From 546eefbb1da251413c4435432f6550d7ead431f5 Mon Sep 17 00:00:00 2001 From: Flavien David Date: Thu, 23 Jan 2025 10:05:42 +0100 Subject: [PATCH] Add migration --- front/migrations/db/migration_147.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 front/migrations/db/migration_147.sql diff --git a/front/migrations/db/migration_147.sql b/front/migrations/db/migration_147.sql new file mode 100644 index 000000000000..21c65ebae6c0 --- /dev/null +++ b/front/migrations/db/migration_147.sql @@ -0,0 +1,3 @@ +-- Migration created on Jan 23, 2025 +ALTER TABLE "public"."tracker_data_source_configurations" ADD COLUMN "workspaceId" BIGINT NOT NULL REFERENCES "workspaces" ("id") ON DELETE RESTRICT ON UPDATE CASCADE; +ALTER TABLE "public"."tracker_generations" ADD COLUMN "workspaceId" BIGINT NOT NULL REFERENCES "workspaces" ("id") ON DELETE RESTRICT ON UPDATE CASCADE; \ No newline at end of file