Skip to content

Implement Stage 2 BLIS update - apply database migrations #167

@hakiatalov

Description

@hakiatalov

As the BLIS-NG System Update
I want to apply database updates found in the update artifact
so that the database schema supports the new BLIS application runtime.

  • The launcher starts the MySQL database and creates a backup of the entire existing database.
  • The launcher applies database migrations by executing each .sql file in the releases\<version>\db\migrations\ directory, in order, via mysql.exe.

AC

  1. Given an BLIS update artifact, When the artifact contains db migrations, Then the db migrations are applied to the database.
  2. Given pending db migrations, When the migration process begins, Then a backup of the old database is created to support rollbacks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions