feat: admin routing part 5

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2025-01-28 22:38:14 +03:00
parent c3156aeb41
commit 6d3b6a4e79
35 changed files with 385 additions and 401 deletions

View file

@ -5,7 +5,7 @@ CREATE TABLE IF NOT EXISTS "user"(
surname VARCHAR(256) NOT NULL,
gender BOOLEAN NOT NULL,
birth_date DATE NOT NULL,
role_id BIGINT NOT NULL REFERENCES "role" DEFAULT 10,
role_id BIGINT NOT NULL REFERENCES "role"(role_id) DEFAULT 10,
creation_time TIMESTAMPTZ NOT NULL DEFAULT NOW()
);