Skip to content
Snippets Groups Projects
Commit 9b2196bb authored by Gianfranco Harres's avatar Gianfranco Harres Committed by Stephanie Briere Americo
Browse files

Resolve "Adicionar tabela de SubForm"

parent 00b31715
Branches
No related tags found
No related merge requests found
...@@ -37,6 +37,7 @@ CREATE TABLE input_answer ( ...@@ -37,6 +37,7 @@ CREATE TABLE input_answer (
id SERIAL PRIMARY KEY, id SERIAL PRIMARY KEY,
id_form_answer INTEGER, id_form_answer INTEGER,
id_input INTEGER, id_input INTEGER,
id_sub_form INTEGER,
value TEXT, value TEXT,
placement INTEGER placement INTEGER
); );
...@@ -75,3 +76,9 @@ CREATE TABLE form_user ( ...@@ -75,3 +76,9 @@ CREATE TABLE form_user (
enabled BOOLEAN, enabled BOOLEAN,
forms INTEGER 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 id;id_form_answer;id_input;id_sub_form;value;placement
1; 1; 6;Answer to Question 1 Form 3; 0 1; 1; 6;;Answer to Question 1 Form 3; 0
2; 1; 7;Answer to Question 2 Form 3; 0 2; 1; 7;;Answer to Question 2 Form 3; 0
3; 2; 4;Answer to Question 2 Form 2; 0 3; 2; 4;;Answer to Question 2 Form 2; 0
4; 2; 5;Answer to Question 1 Form 2; 0 4; 2; 5;;Answer to Question 1 Form 2; 0
5; 3; 1;Answer to Question 1 Form 1; 0 5; 3; 1;;Answer to Question 1 Form 1; 0
6; 3; 2;Answer to Question 2 Form 1; 0 6; 3; 2;;Answer to Question 2 Form 1; 0
7; 3; 3;Answer to Question 3 Form 1; 0 7; 3; 3;;Answer to Question 3 Form 1; 0
8; 4; 4;Answer to Question 2 Form 2; 0 8; 4; 4;;Answer to Question 2 Form 2; 0
9; 4; 5;Answer to Question 1 Form 2; 0 9; 4; 5;;Answer to Question 1 Form 2; 0
10; 5; 6;Answer to Question 1 Form 3; 0 10; 5; 6;;Answer to Question 1 Form 3; 0
11; 5; 7;Answer to Question 2 Form 3; 0 11; 5; 7;;Answer to Question 2 Form 3; 0
12; 6; 1;Answer to Question 1 Form 1; 0 12; 6; 1;;Answer to Question 1 Form 1; 0
13; 6; 2;Answer to Question 2 Form 1; 0 13; 6; 2;;Answer to Question 2 Form 1; 0
14; 6; 3;Answer to Question 3 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