Commit Graph

8 Commits

Author SHA1 Message Date
Yonas Habteab 2505e79a2d DbMigration: Check for mysql collation name whether to check 2.11 is migrated 2023-09-19 14:37:55 +02:00
Yonas Habteab 96a6321569 DbMigration: Adjust usage of `Database::getDb()` 2023-09-19 14:37:55 +02:00
Yonas Habteab 26cae8b882 Rename `MigrationHook` -> `DbMigrationHook` 2023-09-19 14:37:55 +02:00
Yonas Habteab 2657f032dc Allow to automatically fix missing grants & elevalte database users
Co-authored-by: Johannes Meyer
2023-09-19 14:37:55 +02:00
Yonas Habteab ac24c6d34b Don't traverse schema query if the last successfully migrated version is found 2023-09-19 14:37:55 +02:00
Yonas Habteab 4b2784f85e Use `Icinga Web` as a component name 2023-09-19 14:37:55 +02:00
Yonas Habteab 2944ceaa52 Rename `getSchemaQueryFor()` & drop `$version` param 2023-09-19 14:37:55 +02:00
Yonas Habteab 15792fb59a Provide `DbMigration` hook & register when bootstrapping 2023-09-19 14:37:55 +02:00