initial commit

This commit is contained in:
m.zare
2026-04-10 18:25:21 +03:30
commit 77ca6c34a3
263 changed files with 34470 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
-- Add mocked auth role for dev/mock OAuth users (roles table)
-- Use with: psql postgres://alinmeuser:password@localhost:5430/alinmedb -f database/scripts/seed_mock_role.sql
INSERT INTO "public"."roles" ("id", "name", "description", "created_at", "updated_at")
VALUES (
'a0000000-0000-0000-0000-000000000001',
'user',
'Default role for authenticated users (including mock OAuth dev users)',
now(),
now()
)
ON CONFLICT (name) DO NOTHING;