- 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. |
||
|---|---|---|
| .. | ||
| app | ||
| build | ||
| resources | ||
| scripts | ||
| servers | ||
| .gitignore | ||
| build.js | ||
| generate_update.js | ||
| package-lock.json | ||
| package.json | ||
| sync_export_runtime.js | ||
| tsconfig.json | ||
| version.json | ||