Merge pull request #2749 from annando/1608-dbstructure

dbstructure: Set the version when updating manually
This commit is contained in:
rabuzarus 2016-08-28 00:39:15 +02:00 committed by GitHub
commit fde0665d6d

View file

@ -1453,6 +1453,7 @@ function dbstructure_run(&$argv, &$argc) {
switch ($argv[1]) { switch ($argv[1]) {
case "update": case "update":
update_structure(true, true); update_structure(true, true);
set_config('system','build',DB_UPDATE_VERSION);
return; return;
case "dumpsql": case "dumpsql":
print_structure(db_definition()); print_structure(db_definition());