migration file for script withint the same profile now

This commit is contained in:
filipriec
2025-03-08 15:57:31 +01:00
parent 6281702575
commit 48c614084d

View File

@@ -8,6 +8,7 @@ CREATE TABLE table_scripts (
source_columns TEXT[], source_columns TEXT[],
description TEXT, description TEXT,
created_at TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP, created_at TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP,
profile_id BIGINT NOT NULL REFERENCES profiles(id) DEFAULT 1,
UNIQUE(table_definitions_id, target_column) UNIQUE(table_definitions_id, target_column)
); );