<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateShiftKerjasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('shift_kerjas', function (Blueprint $table) {
$table->id();
$table->string('nama_shift');
$table->string('warna_shift')->nullable();
$table->time('jam_masuk');
$table->time('jam_pulang');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('shift_kerjas');
}
}
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]