mirror of
https://github.com/10h30/Test-Laravel-Eloquent-Basics.git
synced 2026-07-11 19:05:53 +09:00
Task 10 - scopes
This commit is contained in:
@@ -104,3 +104,11 @@ In `app/Http/Controllers/ProjectController.php` file method `destroy()`, change
|
||||
Test method `test_soft_delete_projects()`.
|
||||
|
||||
---
|
||||
|
||||
## Task 10. Scopes with Filters.
|
||||
|
||||
In `app/Http/Controllers/UserController.php` file method `only_active()`, make the main statement work and to filter records where email_verified_at is not null.
|
||||
|
||||
Test method `test_active_users()`.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user