Merge pull request 'fix(seeder): standardize branch names to uppercase in BranchesSeeder' (#5) from shola into master

Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
2025-12-23 15:40:48 +07:00
2 changed files with 37 additions and 37 deletions

View File

@@ -8,8 +8,7 @@
/**
* Run the migrations.
*/
public function up()
: void
public function up(): void
{
Schema::create('branches', function (Blueprint $table) {
$table->id();
@@ -31,9 +30,10 @@
/**
* Reverse the migrations.
*/
public function down()
: void
public function down(): void
{
Schema::disableForeignKeyConstraints();
Schema::dropIfExists('branches');
Schema::enableForeignKeyConstraints();
}
};

View File

@@ -186,7 +186,7 @@ class BranchesSeeder extends Seeder
],
[
'code' => 'ID0010031',
'name' => 'BKR Bandung - KCP',
'name' => 'BKR BANDUNG - KCP',
'status' => true,
'created_at' => $now,
'updated_at' => $now
@@ -319,7 +319,7 @@ class BranchesSeeder extends Seeder
],
[
'code' => 'ID0010063',
'name' => 'Diponegoro Denpasar KK',
'name' => 'DIPONEGORO DENPASAR KK',
'status' => true,
'created_at' => $now,
'updated_at' => $now
@@ -704,7 +704,7 @@ class BranchesSeeder extends Seeder
],
[
'code' => 'ID0010272',
'name' => 'Setiabudi Kuningan KK',
'name' => 'SETIABUDI KUNINGAN KK',
'status' => true,
'created_at' => $now,
'updated_at' => $now