Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolicvs committed Mar 12, 2020
1 parent 8a8dc60 commit 55e0793
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
20 changes: 15 additions & 5 deletions data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,14 @@ CREATE table IF NOT EXISTS provider_sources (
CREATE table IF NOT EXISTS std_fields (
id serial UNIQUE NOT NULL ,
std_field_id integer,
name varchar(50) NOT NULL ,
field_type varchar(20) NOT NULL,

category varchar(100),
field_name varchar(50),
definition_and_comment varchar(150),
Obligation_or_condition varchar(150),
field_type varchar(100),
values varchar(150),

isPublic BOOLEAN,
isOptional BOOLEAN,
PRIMARY KEY (id),
Expand All @@ -53,16 +59,20 @@ CREATE table IF NOT EXISTS std_fields (
REFERENCES std_fields(id) MATCH SIMPLE
ON UPDATE NO ACTION ON DELETE NO ACTION,


create_at timestamp NOT NULL DEFAULT NOW(),
update_at timestamp
);

CREATE table IF NOT EXISTS addtl_fields (
id serial UNIQUE NOT NULL ,
addtl_field_id integer,
name varchar(50) NOT NULL ,
field_type varchar(20) NOT NULL,

category varchar(100),
field_name varchar(50),
definition_and_comment varchar(150),
Obligation_or_condition varchar(150),
field_type varchar(100),
values varchar(150),
isPublic BOOLEAN,
isOptional BOOLEAN,
PRIMARY KEY (id),
Expand Down
4 changes: 2 additions & 2 deletions postgresql/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

docker build -t in-sylva.postgres .
# Benjamin
docker build --no-cache -t in-sylva.postgres .

0 comments on commit 55e0793

Please sign in to comment.