Update workshop

This commit is contained in:
2026-05-04 11:55:58 +07:00
parent dec76e8b1d
commit f040dcdc55
17 changed files with 1248 additions and 69 deletions
@@ -15,7 +15,7 @@ return new class extends Migration
$table->id();
$table->string('kode', 2)->unique();
$table->string('nama', 100);
$table->string('path', 10000);
$table->jsonb('path')->nullable();
$table->string('iso', 100);
$table->foreignId('created_by')->nullable()->constrained('users')->onDelete('set null');
$table->foreignId('updated_by')->nullable()->constrained('users')->onDelete('set null');
@@ -28,7 +28,7 @@ return new class extends Migration
$table->id();
$table->string('kode', 4)->unique();
$table->string('nama', 100);
$table->string('path', 10000);
$table->jsonb('path')->nullable();
$table->foreignId('provinsi_id')->constrained('master_provinsi')->onDelete('set null');
$table->foreignId('created_by')->nullable()->constrained('users')->onDelete('set null');
$table->foreignId('updated_by')->nullable()->constrained('users')->onDelete('set null');
@@ -41,7 +41,7 @@ return new class extends Migration
$table->id();
$table->string('kode', 6)->unique();
$table->string('nama', 100);
$table->string('path', 10000);
$table->jsonb('path')->nullable();
$table->foreignId('kabupaten_kota_id')->constrained('master_kabupaten_kota')->onDelete('set null');
$table->foreignId('created_by')->nullable()->constrained('users')->onDelete('set null');
$table->foreignId('updated_by')->nullable()->constrained('users')->onDelete('set null');
@@ -54,7 +54,7 @@ return new class extends Migration
$table->id();
$table->string('kode', 10)->unique();
$table->string('nama', 100);
$table->string('path', 10000);
$table->jsonb('path')->nullable();
$table->foreignId('kecamatan_id')->constrained('master_kecamatan')->onDelete('set null');
$table->foreignId('created_by')->nullable()->constrained('users')->onDelete('set null');
$table->foreignId('updated_by')->nullable()->constrained('users')->onDelete('set null');