laravel table double code example
Example 1: laravel remove foreign key
$table->dropForeign('posts_user_id_foreign');
Example 2: laravel longblob migration
DB::statement("ALTER TABLE <table name> ADD <column name> MEDIUMBLOB");
$table->dropForeign('posts_user_id_foreign');
DB::statement("ALTER TABLE <table name> ADD <column name> MEDIUMBLOB");