mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-26 16:04:08 +00:00
45 lines
1.1 KiB
PHP
45 lines
1.1 KiB
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
class CreateWarehouseitemsTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('warehouseitems', function (Blueprint $table) {
|
|
|
|
$table->increments('id');
|
|
$table->string('description');
|
|
$table->integer('nominal_ctn');
|
|
$table->integer('actual_ctn');
|
|
$table->integer('nominal_measurement');
|
|
$table->integer('actual_measurement');
|
|
$table->integer('nominal_weight');
|
|
$table->integer('actual_weight');
|
|
$table->string('balance');
|
|
$table->boolean('isDamaged');
|
|
$table->string('status');
|
|
$table->string('image');
|
|
$table->timestamps();
|
|
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('warehouseitems');
|
|
}
|
|
}
|