update composer module name
This commit is contained in:
parent
4fe12f993a
commit
3ed6b844f5
@ -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');
|
||||
}
|
||||
};
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "putrakuningan/writeoff",
|
||||
"name": "putrakuningan/writeoff-module",
|
||||
"type": "laravel-module",
|
||||
"description": "",
|
||||
"authors": [
|
||||
|
Loading…
Reference in New Issue
Block a user