Migration fields with timezones
Database migrations column types
Default Timestamp
Migration Status
Create Migration with Spaces
Create Column after Another Column
Make migration for existing table
Output SQL before running migrations
Anonymous Migrations
You can add "comment" about a column inside your migrations
Checking For Table / Column Existence
Group Columns within an After Method
Add the column in the database table only if it's not present & can drop it if, its present
Method to set the default value for current timestamp
Want More In-Depth Content?
These tips are just the beginning. Get access to full Eloquent courses with video lessons, real-world examples, and hands-on projects.