Show success message after migrating

This commit is contained in:
grandeljay 2022-11-09 13:59:42 +01:00
parent ddae657108
commit 7ab2c7fe88
2 changed files with 5 additions and 1 deletions

View file

@ -396,6 +396,10 @@
.ui.info.message .header {
color: #c6e3e9;
}
.ui.inverted.success.message,
.ui.inverted.success.message .header {
color: #b9d1ad;
}
/**
* Modal

View file

@ -37,7 +37,7 @@ if ('POST' === $_SERVER['REQUEST_METHOD']) {
if ($sql) {
$database->query($sql);
$page->messages[] = Page::info(
$page->messages[] = Page::success(
sprintf(
__('Database successfully migrated to %s.'),
'v' . $version['version']