-
-
- Update App
-
- Update Database
- Latest version
-
-
-
-
-
-
-
-
- | Commit |
- When |
- Description |
-
-
-
-
-
-
-
+
+ Ensure you have a current app & database backup before updating!
+
+
+
Update App
+ CURRENT_DATABASE_VERSION){ ?>
+
Update Database
+
+
Current DB Version:
+
+
Latest DB Version:
+
+
Latest version!
+
Current DB Version:
+
+ $tmp_path/current-structure.sql");
-
- // Get the new structure from db.sql
- exec("egrep -v 'MariaDB dump|Host:|Server version|Dump completed' db.sql > $tmp_path/new-structure.sql");
-
- // Compare
- exec("diff $tmp_path/current-structure.sql $tmp_path/new-structure.sql > $tmp_path/diff.txt");
- $diff = file_get_contents("$tmp_path/diff.txt");
-
- // Display, if there is a difference
- if(!empty($diff)){
- echo "
Diff between your database structure and db.sql
";
- echo "
$diff
";
- }
-
- }
-
?>
+
+
+
+
+
+
+ | Commit |
+ When |
+ Description |
+
+
+
+
+
+
+