laravel migration comment code example
Example 1: create laravel migration
php artisan make:migration create_users_table
Example 2: laravel drop table migration
Schema::drop('users');
Schema::dropIfExists('users');
Example 3: laravel migration add comment to table while creating table
in migration file add DB::statement("ALTER TABLE foo comment 'comment'") to up method
Schema::create("foo", function (Blueprint $table)
{
.
.
.
});
DB::statement("ALTER TABLE `foo` comment 'comment'");