From d69d7e82b8bbb567668c935ace848c7dcf750b08 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Thu, 24 Jun 2021 21:09:24 +0200 Subject: Implement database schema Migrator This commit implements the new database schema Migrator which keeps track of the on-disk schema and the schema used by the codebase. It tries to makes future database schema upgrades user-friendlier. --- theme/admin/html/migration.php | 59 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 theme/admin/html/migration.php (limited to 'theme/admin/html/migration.php') diff --git a/theme/admin/html/migration.php b/theme/admin/html/migration.php new file mode 100644 index 0000000..14405c4 --- /dev/null +++ b/theme/admin/html/migration.php @@ -0,0 +1,59 @@ + + + + + + + + <?=$Language->text('maintenance_mode')?> + + +
+
+
+ +
+
text('maintenance_mode')?>
+
+
+
+ +
+

text('maintenance_mode')?>

+ +

text('migration_successful')?>

+ + +

text("migration_upgrade", [$database_schema, $codebase_schema])?>

+
+
    + $commands): ?> +
  • +

    Migration

    +

    text('migration_notice', [$migration-1, $migration])?>

    +
    +
  • + +
+ + +
+ +
+ + + -- cgit v1.2.3