presenton/electron/servers/fastapi/alembic
sudipnext c8faab97d9 Refactor database URL handling and ensure SQLite parent directory creation
- Introduced a helper function `_to_sync_database_url` to standardize the conversion of async database URLs to sync URLs in `env.py` and `migrations.py`.
- Added `_ensure_sqlite_parent_dir` function in `db_utils.py` to create the parent directory for SQLite databases if it doesn't exist, ensuring compatibility with Windows paths.
- Updated the `get_database_url_and_connect_args` function to call `_ensure_sqlite_parent_dir` before processing the database URL.
- Simplified the `sync_export_runtime.js` script by removing the build step and directly using committed runtime artifacts, ensuring a smoother export process.
2026-03-16 07:47:43 +05:45
..
versions feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +05:45
env.py Refactor database URL handling and ensure SQLite parent directory creation 2026-03-16 07:47:43 +05:45
script.py.mako feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +05:45