feat: user routing

feat:  contact
This commit is contained in:
Ahmet Kaan GÜMÜŞ 2024-12-14 03:11:39 +03:00
parent d0187b1b42
commit aa679b5a05
18 changed files with 304 additions and 64 deletions

View file

@ -5,7 +5,6 @@ CREATE TABLE IF NOT EXISTS "user"(
surname VARCHAR(255) NOT NULL,
gender boolean NOT NULL,
birth_date DATE NOT NULL,
email VARCHAR(255) NOT NULL UNIQUE,
role_id BIGSERIAL NOT NULL REFERENCES "role"(id),
creation_time TIMESTAMPTZ NOT NULL DEFAULT NOW()
);