From 48c614084d93d7c79b278b6334371d7d2232ab67 Mon Sep 17 00:00:00 2001 From: filipriec Date: Sat, 8 Mar 2025 15:57:31 +0100 Subject: [PATCH] migration file for script withint the same profile now --- server/migrations/20250306132638_create_table_scripts.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/server/migrations/20250306132638_create_table_scripts.sql b/server/migrations/20250306132638_create_table_scripts.sql index 90567a7..43b0be5 100644 --- a/server/migrations/20250306132638_create_table_scripts.sql +++ b/server/migrations/20250306132638_create_table_scripts.sql @@ -8,6 +8,7 @@ CREATE TABLE table_scripts ( source_columns TEXT[], description TEXT, created_at TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP, + profile_id BIGINT NOT NULL REFERENCES profiles(id) DEFAULT 1, UNIQUE(table_definitions_id, target_column) );