i want code own blog in laravel 5. I want use multiple kinds of posts, like quotes, links for interesting web pages, classics posts or music posts. For example for quotes i don't need title, or slug. But for classics posts i need slug and title. I can store all kind of posts in one table, but i think this is not pretty solution. Maybe i can use polymorphic relations, but i don't know how implement it to solve my issue.
Can someone help me with design db? Any idea for pretty solution?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire