Add db & pydantic models + set up alembic

This commit is contained in:
2025-06-02 08:18:12 +02:00
parent fa0530e18c
commit aa64491313
33 changed files with 648 additions and 16 deletions
+7
View File
@@ -0,0 +1,7 @@
-- Creates an user
CREATE USER
IF NOT EXISTS 'admin'@'%' IDENTIFIED BY '@Avatarme1';
-- Grant rights to admin user
GRANT ALL PRIVILEGES ON `CMT`.* TO 'admin'@'%';
FLUSH PRIVILEGES;