update composer module name

This commit is contained in:
Daeng Deni Mardaeni 2023-10-11 12:43:27 +07:00
parent 4fe12f993a
commit 3ed6b844f5
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,39 @@
<?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('facility_types', function (Blueprint $table) {
$table->id();
$table->string('kode',3)->unique();
$table->string('name');
$table->string('status', 1)->default('A');
$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('facility_types');
}
};

View File

@ -1,5 +1,5 @@
{
"name": "putrakuningan/writeoff",
"name": "putrakuningan/writeoff-module",
"type": "laravel-module",
"description": "",
"authors": [