Welcome Guest, Not a member yet? Register   Sign In
make:model generator

Related to CI v.4.1.1
When i use spark to create model i found out mistake in model.tpl.php view file.
Mistake is related to soft delete property.

in system/Commands/Generators/Views/model.tpl.php file:
PHP Code:
protected $useSoftDelete        false

Should be replaced with:
PHP Code:
protected $useSoftDeletes        false

Please file an issue report on GitHub so that we can fix it.

For the meantime, what you can do is copy the template file in your own folder, edit the wrong property, then reference the path in Config\Generators file.

Theme © iAndrew 2016 - Forum software by © MyBB