This commit is contained in:
PB
2022-12-25 23:21:27 +01:00
parent 317d1a871b
commit 6042f81c35
14 changed files with 219 additions and 41 deletions

View File

@@ -0,0 +1 @@
DROP TABLE IF EXISTS identity.users;

View File

@@ -0,0 +1,12 @@
CREATE TABLE IF NOT EXISTS identity.users
(
id uuid NOT NULL DEFAULT gen_random_uuid(),
username character varying NOT NULL,
email character varying NOT NULL,
created_at timestamp without time zone NOT NULL DEFAULT now(),
updated_at timestamp without time zone,
PRIMARY KEY (id)
);
ALTER TABLE IF EXISTS identity.users
OWNER to postgres;