laravel
Share common database columns across multiple tables in your Laravel migrations
Posted on:09/12/2022Use Laravel's `\Illuminate\Support\Traits\Macroable` trait to register custom `\Illuminate\Database\Schema\Blueprint` class macros.
Dynamically set a Laravel model's table name
Posted on:03/12/2022Overriding the `\Illuminate\Database\Eloquent\Model::getTable` method to set a dynamic table name.