Join Joseph Lowery for an in-depth discussion in this video Enabling version control with Migrations, part of Learning Laravel.
The previous lesson used Laravel's Schema Builder…to create the structure of our database.…That's useful, but Laravel has another feature…that takes what Schema Builder can do to the next level.…With Laravel Migrations, not only can you create…and modify your database structure, you can also…seed it with content and, perhaps most importantly,…enable version control so that you can roll back…or restore your database as needed.…To get underway with Migrations,…you'll need to turn to your command-line…and also Laravel's command-line interface Artisan,…which we've previously used to fire up…the Laravel built-in web server.…
In terminal, I'm going to cd to my project folder,…firstapp, and then issue the php,…artisan, migrate, colon, make command.…And I'll give it the name of the migration…I want to make, and I'll call this create art.…So php, artisan, migrate, colon, make, create art.…If all goes well, you'll get a response…that Migration with today's date…and time stamp has been created,…the optimized class loader has been generated,…
- Installing Laravel
- Handling testing
- Establishing an HTML view
- Connecting to a database
- Enabling version control
- Setting up-and-running unit tests
Skill Level Intermediate
1. Introduction to Laravel
2. Creating Initial Laravel Pages
3. Displaying Laravel Code
4. Creating a Laravel Application
5. Testing Your Laravel Code
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.