改用mysql

This commit is contained in:
amb
2026-09-02 11:19:49 +08:00
parent 410bd30b2e
commit 73c4d83f42
24 changed files with 831 additions and 258 deletions
+2
View File
@@ -46,12 +46,14 @@ class UserRepository:
email: str,
password_hash: str,
plan_id: str,
role: str = "customer",
) -> User:
user = User(
username=username,
email=email.lower(),
password_hash=password_hash,
status="active",
role=role,
plan_id=plan_id,
storage_used=0,
)