Added optional update parameter

This commit is contained in:
Netkas 2021-09-23 20:33:04 -04:00
parent 4b0aea79fb
commit d1b91f1d16
1 changed files with 3 additions and 2 deletions

View File

@ -90,7 +90,7 @@
*
* @param Schema $schema
*/
public function defineSchema(Schema $schema)
public function defineSchema(Schema $schema, bool $update=false)
{
if($this->Configuration == null)
$this->reloadConfiguration();
@ -109,7 +109,8 @@
}
}
$this->updateConfiguration();
if($update)
$this->updateConfiguration();
}
/**