Skip to content

Create database migration tests #554

Description

@danthe1st

Create a test that does the following:

  • Load the initial database schema into an in-memory h2 database
  • Get a list of all database migration scripts using the same logic that is also used for autocomplete in /db-admin migrate. This should be successful (it might require updating the command)
  • Run all database migration scripts with the in-memory database using the same logic that is also used by /db-admin migrate. There shouldn't be any errors.

This test should work in both JVM and native-image mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions