Create: Docker compose

This commit is contained in:
Yûki VACHOT 2022-01-04 18:32:28 +01:00
parent db28af77f5
commit ad59b66279
4 changed files with 55 additions and 3 deletions

11
backend/init-db1.sql Normal file
View file

@ -0,0 +1,11 @@
-- Table: users
CREATE TABLE IF NOT EXISTS users
(
id integer NOT NULL,
email character varying(320) NOT NULL,
login character varying(32) NOT NULL,
hash_pass character varying(256) NOT NULL,
is_admin boolean NOT NULL DEFAULT FALSE,
CONSTRAINT users_pkey PRIMARY KEY(id)
)