Skip to content

Commit 5311f0b

Browse files
committed
Altera configuração do postgres no travis
1 parent 518f665 commit 5311f0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ addons:
1414
postgresql: "9.3"
1515
before_script:
1616
- psql -c 'create database api_test;' -U postgres
17-
- psql -c 'CREATE TABLE 'Users' (id serial NOT NULL, name character varying(255) NOT NULL, email character varying(255) NOT NULL, password character varying(255) NOT NULL, "createdAt" timestamp with time zone NOT NULL, "updatedAt" timestamp with time zone NOT NULL, CONSTRAINT "Users_pkey" PRIMARY KEY (id));' -U postgres
17+
# - psql -c 'CREATE TABLE Users (id serial NOT NULL, name character varying(255) NOT NULL, email character varying(255) NOT NULL, password character varying(255) NOT NULL, "createdAt" timestamp with time zone NOT NULL, "updatedAt" timestamp with time zone NOT NULL, CONSTRAINT "Users_pkey" PRIMARY KEY (id));' -U postgres
1818
- npm install
1919
script:
2020
- npm run dist-test

0 commit comments

Comments
 (0)