mirror of
https://github.com/langgenius/dify.git
synced 2025-11-29 20:37:22 +00:00
This PR fixes Alembic offline mode (`--sql` flag) by ensuring data migration functions only execute in online mode. When running in offline mode, these functions now skip data operations and output informational comments to the generated SQL.
Single-database configuration for Flask.