Update workshop
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user