enh: ENABLE_DB_MIGRATIONS

This commit is contained in:
Timothy Jaeryang Baek
2025-12-23 10:14:54 +04:00
parent 117b1bfa65
commit 9824f0e333
3 changed files with 8 additions and 2 deletions

View File

@@ -117,6 +117,8 @@ VERSION = PACKAGE_DATA["version"]
DEPLOYMENT_ID = os.environ.get("DEPLOYMENT_ID", "")
INSTANCE_ID = os.environ.get("INSTANCE_ID", str(uuid4()))
ENABLE_DB_MIGRATIONS = os.environ.get("ENABLE_DB_MIGRATIONS", "True").lower() == "true"
# Function to parse each section
def parse_section(section):