Skip to content
Snippets Groups Projects
Commit a58a7b31 authored by Stephanie Briere Americo's avatar Stephanie Briere Americo
Browse files

Merge branch '15-adicionar-tabela-de-subform' into 'develop'

Resolve "Adicionar tabela de SubForm"

Closes #15

See merge request !18
parents 00b31715 9b2196bb
Branches
No related tags found
1 merge request!18Resolve "Adicionar tabela de SubForm"
Pipeline #22627 passed
......@@ -37,6 +37,7 @@ CREATE TABLE input_answer (
id SERIAL PRIMARY KEY,
id_form_answer INTEGER,
id_input INTEGER,
id_sub_form INTEGER,
value TEXT,
placement INTEGER
);
......@@ -75,3 +76,9 @@ CREATE TABLE form_user (
enabled BOOLEAN,
forms INTEGER
);
CREATE TABLE sub_form (
id SERIAL PRIMARY KEY,
id_input INTEGER,
id_content_form INTEGER
);
id;id_form_answer;id_input;value;placement
1; 1; 6;Answer to Question 1 Form 3; 0
2; 1; 7;Answer to Question 2 Form 3; 0
3; 2; 4;Answer to Question 2 Form 2; 0
4; 2; 5;Answer to Question 1 Form 2; 0
5; 3; 1;Answer to Question 1 Form 1; 0
6; 3; 2;Answer to Question 2 Form 1; 0
7; 3; 3;Answer to Question 3 Form 1; 0
8; 4; 4;Answer to Question 2 Form 2; 0
9; 4; 5;Answer to Question 1 Form 2; 0
10; 5; 6;Answer to Question 1 Form 3; 0
11; 5; 7;Answer to Question 2 Form 3; 0
12; 6; 1;Answer to Question 1 Form 1; 0
13; 6; 2;Answer to Question 2 Form 1; 0
14; 6; 3;Answer to Question 3 Form 1; 0
id;id_form_answer;id_input;id_sub_form;value;placement
1; 1; 6;;Answer to Question 1 Form 3; 0
2; 1; 7;;Answer to Question 2 Form 3; 0
3; 2; 4;;Answer to Question 2 Form 2; 0
4; 2; 5;;Answer to Question 1 Form 2; 0
5; 3; 1;;Answer to Question 1 Form 1; 0
6; 3; 2;;Answer to Question 2 Form 1; 0
7; 3; 3;;Answer to Question 3 Form 1; 0
8; 4; 4;;Answer to Question 2 Form 2; 0
9; 4; 5;;Answer to Question 1 Form 2; 0
10; 5; 6;;Answer to Question 1 Form 3; 0
11; 5; 7;;Answer to Question 2 Form 3; 0
12; 6; 1;;Answer to Question 1 Form 1; 0
13; 6; 2;;Answer to Question 2 Form 1; 0
14; 6; 3;;Answer to Question 3 Form 1; 0
id;id_input;id_content_form
\ 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