mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Truncate imports table on seed
This commit is contained in:
parent
25884a893e
commit
a521523d45
|
@ -43,5 +43,8 @@ class DatabaseSeeder extends Seeder
|
||||||
\Log::info($output);
|
\Log::info($output);
|
||||||
|
|
||||||
Model::reguard();
|
Model::reguard();
|
||||||
|
|
||||||
|
DB::table('imports')->truncate();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue