default laravel mifrations code example
Example 1: how to change existing migration laravel
php artisan make:migration update_user_guide_in_product_translations_table
Example 2: migration rename column laravel
public function up()
{
Schema::table('posts', function (Blueprint $table) {
$table->renameColumn('author_ID', 'user_id');
});
}