Skip to content
Snippets Groups Projects
Commit 7bf24a45 authored by Lucas Fernandes de Oliveira's avatar Lucas Fernandes de Oliveira
Browse files

Merge branch '8-arrumar-form_updates-e-input_updates' into 'develop'

Resolve "Arrumar form_updates e input_updates"

Closes #8

See merge request !9
parents 4aebe291 d9a5730a
No related branches found
No related tags found
1 merge request!9Resolve "Arrumar form_updates e input_updates"
Pipeline #21252 passed
...@@ -41,16 +41,21 @@ CREATE TABLE input_answer ( ...@@ -41,16 +41,21 @@ CREATE TABLE input_answer (
placement INTEGER placement INTEGER
); );
CREATE TABLE form_updates ( CREATE TABLE form_update (
id SERIAL PRIMARY KEY, id SERIAL PRIMARY KEY,
id_form INTEGER, id_form INTEGER,
update_data TEXT update_date TIMESTAMP
); );
CREATE TABLE input_updates ( CREATE TABLE input_update (
id SERIAL PRIMARY KEY, id SERIAL PRIMARY KEY,
id_form_updates INTEGER, id_form_update INTEGER,
id_input INTEGER, id_input INTEGER,
input_operation char(3), input_operation_id INTEGER,
value TEXT value TEXT
); );
CREATE TABLE input_operation (
id INTEGER,
name TEXT
);
id;id_form;update_date
id;name
0;ADD
1;REMOVE
2;SWAP
id;id_form_update;id_input;input_operation_id;value
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment