Created
September 5, 2020 16:07
-
-
Save oxlb/c23564ec60b00c0bdee171d5c12234b7 to your computer and use it in GitHub Desktop.
Docker Postgress Seeding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE student | |
( | |
id bigint NOT NULL, | |
name text COLLATE pg_catalog."default", | |
CONSTRAINT student_pkey PRIMARY KEY (id) | |
); | |
INSERT INTO student(id, name) VALUES | |
(1, 'A'), | |
(2, 'B'), | |
(3, 'C'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment