From 3ed6b844f58c38c4285a690d9e8bf2093551ba53 Mon Sep 17 00:00:00 2001 From: Daeng Deni Mardaeni Date: Wed, 11 Oct 2023 12:43:27 +0700 Subject: [PATCH] update composer module name --- ..._11_042437_create_facility_types_table.php | 39 +++++++++++++++++++ composer.json | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 Database/Migrations/2023_10_11_042437_create_facility_types_table.php diff --git a/Database/Migrations/2023_10_11_042437_create_facility_types_table.php b/Database/Migrations/2023_10_11_042437_create_facility_types_table.php new file mode 100644 index 0000000..de7662e --- /dev/null +++ b/Database/Migrations/2023_10_11_042437_create_facility_types_table.php @@ -0,0 +1,39 @@ +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'); + } +}; diff --git a/composer.json b/composer.json index 9a9fb3d..670bf7a 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "putrakuningan/writeoff", + "name": "putrakuningan/writeoff-module", "type": "laravel-module", "description": "", "authors": [