mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-22 14:04:05 +00:00
45 lines
980 B
PHP
45 lines
980 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
class CreateSosTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('sos', function (Blueprint $table) {
|
|
$table->increments('id');
|
|
|
|
//Order details
|
|
$table->integer('ff_id');
|
|
$table->string('supplier_company_name');
|
|
$table->string('supplier_contact_person');
|
|
$table->integer('supplier_contact_person_no');
|
|
|
|
//Delivery details
|
|
$table->integer('delivery_id');
|
|
|
|
//Warehouse details
|
|
$table->integer('warehouse_id');
|
|
$table->timestamps();
|
|
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('sos');
|
|
}
|
|
}
|