dropping tabel migration what we write down in laravel code example
Example 1: add column in laravel migration
php artisan make:migration add_paid_to_users_table --table=users
Example 2: datetime-local laravel migration data type
public function getDateStartAttribute($value)
{
return Carbon::parse($value)->format('Y-m-d\TH:i');
}
public function getDateEndAttribute($value)
{
return Carbon::parse($value)->format('Y-m-d\TH:i');
}