From 17b498028263764a1286eec879bd98ba00831868 Mon Sep 17 00:00:00 2001 From: Richard Heise <rfhf19@inf.ufpr.br> Date: Tue, 6 Oct 2020 13:59:16 -0300 Subject: [PATCH] Add times to form table --- .gitlab-ci.yml | 1 + workspace/create/00-core-tables.sql | 3 ++- workspace/fixture/form.csv | 8 ++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b6352b..6dd7a49 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,7 @@ variables: DB_USER: 'postgres' DB_PASSWORD: 'postgres' DB_NAME: 'postgres' + POSTGRES_HOST_AUTH_METHOD: trust GIT_SUBMODULE_STRATEGY: normal stages: diff --git a/workspace/create/00-core-tables.sql b/workspace/create/00-core-tables.sql index 382c809..151abab 100644 --- a/workspace/create/00-core-tables.sql +++ b/workspace/create/00-core-tables.sql @@ -1,7 +1,8 @@ CREATE TABLE form ( id SERIAL PRIMARY KEY, title TEXT, - description TEXT + description TEXT, + times BOOLEAN ); CREATE TABLE input ( diff --git a/workspace/fixture/form.csv b/workspace/fixture/form.csv index 823b8a0..2934465 100644 --- a/workspace/fixture/form.csv +++ b/workspace/fixture/form.csv @@ -1,4 +1,4 @@ -id;title;description -1;Form Title 1;Form Description 1 -2;Form Title 2;Form Description 2 -3;Form Title 3;Form Description 3 +id;title;description;times +1;Form Title 1;Form Description 1;f +2;Form Title 2;Form Description 2;f +3;Form Title 3;Form Description 3;f -- GitLab