mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-21 13:34:24 +00:00
fix migration errors
This commit is contained in:
@@ -4,7 +4,7 @@ use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateBookingSuppliersTable extends Migration
|
||||
class SupplierBookingTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
|
||||
@@ -19,8 +19,6 @@ class CreateSupplierBookingItemsTable extends Migration
|
||||
$table->integer('book_id')->unsigned();
|
||||
$table->foreign('book_id')->references('id')->on('bookings');
|
||||
$table->double('bank_in_amount');
|
||||
$table->increments('date');
|
||||
$table->increments('details');
|
||||
$table->integer('supplierbooking_id')->unsigned();
|
||||
$table->foreign('supplierbooking_id')->references('id')->on('supplier_bookings');
|
||||
$table->timestamps();
|
||||
|
||||
Reference in New Issue
Block a user