add crud signer

This commit is contained in:
KhatamNugraha
2023-08-21 15:48:15 +07:00
parent 969fd88aa4
commit 0fbd2a0423
14 changed files with 684 additions and 35 deletions

View File

@ -0,0 +1,40 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('signers', function (Blueprint $table) {
$table->id();
$table->string('nomor_cif');
$table->string('deputy_director_name');
$table->string('executive_officer_name');
$table->string('keterangan');
$table->string('status', 1)->default('1');
$table->timestamps();
$table->softDeletes();
$table->unsignedBigInteger("created_by")->nullable();
$table->unsignedBigInteger("updated_by")->nullable();
$table->unsignedBigInteger("deleted_by")->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('signers');
}
};