Skip to content

Instantly share code, notes, and snippets.

@oxlb
Created September 5, 2020 16:07
Show Gist options
  • Save oxlb/c23564ec60b00c0bdee171d5c12234b7 to your computer and use it in GitHub Desktop.
Save oxlb/c23564ec60b00c0bdee171d5c12234b7 to your computer and use it in GitHub Desktop.
Docker Postgress Seeding
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