Skip to content

Commit

Permalink
Populate test data
Browse files Browse the repository at this point in the history
  • Loading branch information
quambene committed Apr 3, 2024
1 parent a4d4552 commit 005fae1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test_data/init.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CREATE TABLE account (
id serial primary key,
first_name character varying,
last_name character varying,
email character varying NOT NULL
);

COPY account(first_name, last_name, email)
FROM
'/docker-entrypoint-initdb.d/contacts.csv' DELIMITER ',' CSV HEADER;

0 comments on commit 005fae1

Please sign in to comment.