Merge pull request #2749 from annando/1608-dbstructure
dbstructure: Set the version when updating manually
This commit is contained in:
commit
fde0665d6d
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue