feat(root):add mysql

This commit is contained in:
shahzeydyfah
2026-02-17 23:52:14 +03:30
parent abb1c01753
commit 189df529d9
4 changed files with 126 additions and 6 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ from core.service.mongo_db import use_collection
def get_auth_db():
return conf.server.is_prod and conf.database.get('mongo').production.db or conf.database.get(
'mongo').dev.db
return conf.server.is_prod and conf.database.get('mongo_auth').production.db or conf.database.get(
'mongo_auth').dev.db
def use_auth_collection(collection: str) -> Collection: