laravel-daily 8 months ago
Povilas Korop #Web Development

[01/11] Laravel Travel API: DB Schema | Models and Migrations

We start/continue our course about Laravel Travel API. Today we're talking about models and migrations!

Text-Based Course version of this lesson:

https://laraveldaily.com/lesson/travel-api/database-schema-models-migrations-attributes


00:00 | Intro

01:47 | Role model/migration

03:09 | User-Role many-to-many

05:46 | Travels: irregular noun

09:00 | Slug: observer/package

13:59 | number_of_nights Accessor

16:03 | Tour model/migration

17:52 | Price accessor/mutator

19:07 | IDs to UUIDs

22:01 | Visual DB Schema





Povilas Korop
explaining laravel