Skip to content

Commit d82ce28

Browse files
author
AkkuFresh
authored
Remove DB::delete
1 parent 8a01a29 commit d82ce28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/seeds/NavigationAdminTableSeeder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class NavigationAdminTableSeeder extends Seeder
88
public function run()
99
{
1010
NavigationAdmin::truncate();
11-
DB::delete('TRUNCATE navigation_admin_role');
11+
//DB::delete('TRUNCATE navigation_admin_role');
1212

1313
$csvPath = database_path() . DIRECTORY_SEPARATOR . 'seeds' . DIRECTORY_SEPARATOR . 'csv' . DIRECTORY_SEPARATOR . 'navigation_admin.csv';
1414
$items = csv_to_array($csvPath);
@@ -39,4 +39,4 @@ public function run()
3939
$row->roles()->attach($roles);
4040
}
4141
}
42-
}
42+
}

0 commit comments

Comments
 (0)