You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generator uses the SchemaTool::createSchema call in the generated bootstrap if models are added.
As the function is called if you reinstall the plugin it tries to create the model's database tables but fails.
Therefore calling SchemaTool::updateSchema($classes, true); instead is preferable as it also creates the tables if they aren't present but won't raise any errors.
The text was updated successfully, but these errors were encountered:
The generator uses the
SchemaTool::createSchema
call in the generated bootstrap if models are added.As the function is called if you reinstall the plugin it tries to create the model's database tables but fails.
Therefore calling
SchemaTool::updateSchema($classes, true);
instead is preferable as it also creates the tables if they aren't present but won't raise any errors.The text was updated successfully, but these errors were encountered: