Skip to content

Gitea should prohibit restoring backup of older schema than currently installed #13113

Closed
@CirnoT

Description

@CirnoT

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions