Task 7 - polymorphic

This commit is contained in:
PovilasKorop
2021-11-22 10:30:12 +02:00
parent a3538e1014
commit fc0bf0d079
7 changed files with 110 additions and 0 deletions
+8
View File
@@ -75,3 +75,11 @@ Test method `test_countries_with_team_size()`.
---
## Task 6. Polymorphic Attachments
In the route `/attachments`, the table should show the filenames and the class names of Task and Comment models. Fix the `app/Models/Attachment.php` relationship to make it work.
Test method `test_attachments_polymorphic()`.
---