migration is now holding the target table information
This commit is contained in:
@@ -2,11 +2,10 @@
|
||||
CREATE TABLE table_scripts (
|
||||
id BIGSERIAL PRIMARY KEY,
|
||||
table_definitions_id BIGINT NOT NULL REFERENCES table_definitions(id),
|
||||
target_table TEXT NOT NULL,
|
||||
target_column TEXT NOT NULL,
|
||||
target_column_type TEXT NOT NULL,
|
||||
script TEXT NOT NULL,
|
||||
source_tables TEXT[],
|
||||
source_columns TEXT[],
|
||||
description TEXT,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
profile_id BIGINT NOT NULL REFERENCES profiles(id) DEFAULT 1,
|
||||
|
||||
Reference in New Issue
Block a user