group id seeder at cawangan

This commit is contained in:
Afrina Alimi
2023-12-04 08:33:10 +08:00
committed by Hafifie PKB
parent eb330fc9d1
commit 2fb497fa50
2 changed files with 22 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
use App\Cawangan;
use Illuminate\Database\Seeder;
class GroupIdSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
Cawangan::on('mysql7')->where('tagarrahnbid', '=', 1)->update([
'group_id' => 1,
]);
}
}