feat: implements article table

This commit is contained in:
2026-03-31 23:55:53 -03:00
parent 24a076c2c1
commit 324653dd2a
3 changed files with 62 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ CREATE TABLE users (
role user_role NOT NULL DEFAULT 'user',
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
updated_at TIMESTAMPTZ NOT NULL DEFAULT now(),
external_id UUID NOT NULL DEFAULT gen_random_uuid()
external_id UUID NOT NULL DEFAULT gen_random_uuid() UNIQUE
);
--end-sql`);
}