feat(cli,database): 更新数据库引擎创建模式
This commit is contained in:
@@ -7,10 +7,3 @@ console = Console()
|
||||
DATA_DIR = Path.cwd() / ".nyahome"
|
||||
ENV_PATH = DATA_DIR / ".env"
|
||||
LOGGING_YAML = DATA_DIR / "logging.yaml"
|
||||
|
||||
db_driver_available = {
|
||||
"sqlite": ["sqlite3"],
|
||||
"mysql": ["pymysql"],
|
||||
"postgresql": ["psycopg"],
|
||||
}
|
||||
db_type_allowlist = ["sqlite", "mysql", "postgresql"]
|
||||
|
||||
Reference in New Issue
Block a user