comment, interaction db

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2024-12-05 01:57:47 +03:00
parent ee9015c1e3
commit 60d18771d7
17 changed files with 184 additions and 32 deletions

View file

@ -0,0 +1,9 @@
-- Add up migration script here
CREATE TABLE IF NOT EXISTS "role"(
id BIGSERIAL PRIMARY KEY NOT NULL UNIQUE,
name VARCHAR(16) NOT NULL UNIQUE
);
INSERT INTO "role"(id, name) VALUES (0, 'Ahmet Kaan Gümüş');
INSERT INTO "role"(id, name) VALUES (1, 'Founder');
INSERT INTO "role"(id, name) VALUES (2, 'Normal');