changeset 1035:d8b14f80a6f0

Add force_ugprade command.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 20 Nov 2015 07:37:01 +0200
parents 8fecb417e6a9
children b67fa444099e
files managedb.php
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/managedb.php	Fri Nov 20 07:28:53 2015 +0200
+++ b/managedb.php	Fri Nov 20 07:37:01 2015 +0200
@@ -374,6 +374,10 @@
   "                    Upgrade current database, if possible.\n".
   "                    Output to new database (DO NOT USE SAME as current!)\n".
   "\n".
+  "  force_upgrade <input_dbspec> <output_dbspec>\n".
+  "                    Like 'upgrade' but without version check.\n"
+  "                    DO NOT USE unless you know what you are doing.\n".
+  "\n".
   "  migrate <input_dbspec> <output_dbspec>\n".
   "                    Like upgrade, but no version check. Creates\n".
   "                    a copy of the database to the output spec.\n".
@@ -437,6 +441,7 @@
     break;
 
   case "upgrade":
+  case "force_upgrade":
     $upgrade = TRUE;
 
   case "migrate":