mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
Attempting to "upgrade" from `main` to 4.x should abort; Django does not prevent running old code against the new database (though it likely errors at runtime), and `./manage.py migrate` from the old version during the "upgrade" does not downgrade the database, since the migrations are entirely missing in that directory, so don't get reversed. Compare the list of applied migrations to the list of on-disk migrations, and abort if there are applied migrations which are not found on disk. Fixes: #19284.
1.1 KiB
Executable File
1.1 KiB
Executable File