Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: "useSoftDelete" for model files generated by phpspark #4316

Closed
tomomo opened this issue Feb 21, 2021 · 0 comments · Fixed by #4319
Closed

Bug: "useSoftDelete" for model files generated by phpspark #4316

tomomo opened this issue Feb 21, 2021 · 0 comments · Fixed by #4319
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@tomomo
Copy link

tomomo commented Feb 21, 2021

Hello.

Model file generated by php spark make:model.
I realized that I couldn't do a logical delete if it was created accordingly.

https://github.com/codeigniter4/CodeIgniter4/blob/develop/system/Commands/Generators/Views/model.tpl.php

protected $useSoftDelete        = false;

Isn't it $useSoftDeletes ?

Thank you in advance.


CodeIgniter 4 version
4.1.1

@tomomo tomomo added the bug Verified issues on the current code behavior or pull requests that will fix them label Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant