CLI: properly deal with --force-yes on schema update
This commit is contained in:
parent
25b71b90b2
commit
65f341fbf4
|
@ -269,7 +269,7 @@
|
|||
if (isset($options["update-schema"])) {
|
||||
if (Config::is_migration_needed()) {
|
||||
|
||||
if (!isset($options['force-yes']) || $options["update-schema"] != "force-yes") {
|
||||
if (!isset($options['force-yes']) && $options["update-schema"] != "force-yes") {
|
||||
Debug::log("Type 'yes' to continue.");
|
||||
|
||||
if (read_stdin() != 'yes')
|
||||
|
|
Loading…
Reference in New Issue