Laravel Tip 💡
Repeating the same audit fields across migrations? Define them once with a custom Blueprint macro, then reuse them with $table->auditFields().
One place to maintain common migration fields, instead of repeating them everywhere.
Laravel Tip 💡
Repeating the same audit fields across migrations? Define them once with a custom Blueprint macro, then reuse them with $table->auditFields().
One place to maintain common migration fields, instead of repeating them everywhere.