40 lines
839 B
PHP
40 lines
839 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
/**
|
|
* Migration auto-generated by Sequel Pro Laravel Export (1.4.1)
|
|
* @see https://github.com/cviebrock/sequel-pro-laravel-export
|
|
*/
|
|
class CreateStatusTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('status', function (Blueprint $table) {
|
|
$table->bigIncrements('id');
|
|
$table->string('name', 255);
|
|
$table->bigInteger('handling_days');
|
|
$table->string('color', 6)->nullable();
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('status');
|
|
}
|
|
}
|