table definitions added
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
-- Add migration script here
|
||||
CREATE TABLE table_definitions (
|
||||
id BIGSERIAL PRIMARY KEY,
|
||||
deleted BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
firma TEXT NOT NULL,
|
||||
table_name TEXT NOT NULL UNIQUE,
|
||||
columns JSONB NOT NULL,
|
||||
indexes JSONB NOT NULL,
|
||||
created_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
CREATE INDEX idx_table_definitions_table_name ON table_definitions (table_name);
|
||||
Reference in New Issue
Block a user