Fix dropping of unique index when table prefix is present #934

This commit is contained in:
Nabeel Shahzad 2020-11-26 12:27:26 -05:00
parent be15426b5b
commit eae345efa7

View File

@ -9,7 +9,7 @@ class AirlineRemoveNullable extends Migration
public function up()
{
Schema::table('airlines', function (Blueprint $table) {
$table->dropUnique('airlines_iata_unique');
$table->dropUnique(['iata']);
});
}