update kertas kerja dan column name table inspeksi

This commit is contained in:
majid
2024-12-04 12:08:14 +07:00
parent 280ed97a50
commit c603a99c0d
12 changed files with 753 additions and 410 deletions

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('inspeksi', function (Blueprint $table) {
$table->string('name')->nullable()->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('inspeksi', function (Blueprint $table) {
$table->string('name')->nullable(false)->change();
});
}
};