Skip to content
Snippets Groups Projects
Commit d378c2e3 authored by shpl19's avatar shpl19
Browse files

changes to add new tables

parent ed5adee5
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
...@@ -90,3 +90,19 @@ CREATE TABLE form_owner ( ...@@ -90,3 +90,19 @@ CREATE TABLE form_owner (
id_form INTEGER id_form INTEGER
); );
CREATE TABLE tables (
id SERIAL PRIMARY KEY,
table_id INTEGER,
row INTEGER,
column_t INTEGER,
value TEXT,
enabled BOOLEAN DEFAULT true,
CONSTRAINT table_id_row_col UNIQUE (table_id, row, column_t)
);
/* CREATE SEQUENCE input_table_table_id_seq; */
CREATE TABLE input_table (
table_id SERIAL PRIMARY KEY,
input_id INTEGER
);
/* ALTER SEQUENCE input_table_table_id_seq OWNED BY input_table.table_id; */
...@@ -3,3 +3,4 @@ id;name ...@@ -3,3 +3,4 @@ id;name
1;REMOVE 1;REMOVE
2;SWAP 2;SWAP
3;REENABLED 3;REENABLED
4;TABLE
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment