Closed
Description
Backup should store its schema version and restore tool should not allow restoring data onto already existing database schema that is of newer version that that of backup.
Such action results in data being migrated without necessary migrations. User should be advised to restore backup on the same version of Gitea as it was made to, and only then upgrade to newer version.