update migration

This commit is contained in:
Jack Goh
2018-08-02 11:09:59 +08:00
parent 3539b9076c
commit bc34983d6d
@@ -17,7 +17,7 @@ class RenameBookingForeignkeyFromSupplierbookingTable extends Migration
{
$table->dropForeign(['book_id']);
$table->dropColumn('book_id');
$table->integer('booking_id')->unsigned()->nullable;
$table->integer('booking_id')->unsigned()->nullable();
$table->foreign('booking_id')->references('id')->on('bookings');
});
}