Skip to content

Conversation

@marcos-queiroz
Copy link

I noticed that when using spark make: model the variable useSoftDeletes is being generated in the singular, useSoftDelete, which causes an error when setting to TRUE, when executing $model->delete (1), the record is being permanently deleted.

Description
A small change in the variable 'useSoftDelete' to 'useSoftDeletes' as shown in the documentation.

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

marcos-queiroz and others added 2 commits May 4, 2021 14:50
I noticed that when using spark make: model the variable useSoftDeletes is being generated in the singular, useSoftDelete, which causes an error when setting to TRUE, when executing $model->delete (1), the record is being permanently deleted.
@iRedds
Copy link
Collaborator

iRedds commented May 4, 2021

This has already been fixed.
It's just that due to the long release cycle, simple fixes are not available.

@marcos-queiroz
Copy link
Author

Thank you, congratulations on your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants