Files
izyim-api/database/migrations/2018_05_07_062017_create_sos_table.php
T
Zain Fauzan Rofie Azizi 1361538f8b solve multiple error
2018-06-07 09:55:43 +08:00

39 lines
875 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');
$table->integer('ff_id');
$table->string('supplier_company_name');
$table->string('supplier_contact_person');
$table->integer('supplier_contact_person_no');
$table->integer('delivery_id');
$table->integer('warehouse_id');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('sos');
}
}