<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRaksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('raks', function (Blueprint $table) {
$table->char('kd_rak', 20)->primary();
$table->enum('sinkron', ['0', '1']);
$table->timestamps();
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('raks');
}
}
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]