how to create a new migration in laravel to a field to an existing table code example
Example 1: add new column in existing table in laravel migration
public function down()
{
Schema::table('users', function($table) {
$table->dropColumn('paid');
});
}
Example 2: create migration laravel
php artisan make:Model Product -m -c --resource