add auto migrations

This commit is contained in:
itqop 2025-12-31 02:09:23 +03:00
parent f51aa3133c
commit 4c51d45708
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ if config.config_file_name is not None:
fileConfig(config.config_file_name)
# Get database URL from settings
settings = get_settings()
import os
db_url = os.environ.get("DATABASE_URL")