cakephp3-soft-delete
cakephp3-soft-delete copied to clipboard
Replace deprecated methods `App\Model\Table::schema()` and `TableSchema::column()`.
Hello, i replace deprecated methods for compatibility with cakephp 4. Il works with cakephp version : ~3.5. Thank's
related to #29
When I execute get query on Model with Model2 and Model3 associated (Model2 and Model3 also use SoftDeleteTrait) I'm getting only Model2's and Model3's rows where deleted is null instead...
On the page https://github.com/PGBI/cakephp3-soft-delete#restoring-soft-deleted-records it should be: $user = $this->Users->find('all', ['withDeleted'])->where(**['id' => 1]**)->first(); Saving anyone who copies and pastes the sample for testing a few minutes. I copy and pasted...
Can´t use IsUnique when there is an item softdeleted, the validation ignore it and the DB return "Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry".
I have a Users table and a UserLoginCredentials table. A User hasMany LoginCredentials, and in that association the targetTable has manually been set to the UserLoginCredentials table. If I now...