auto truncate winner table
This commit is contained in:
parent
2ef2f216cb
commit
78715cc3ef
@ -198,7 +198,8 @@ class TabulateWinners extends Command
|
|||||||
return $NinetyEightToCurrent2ndQuery->vehicle;
|
return $NinetyEightToCurrent2ndQuery->vehicle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Truncate table first
|
||||||
|
CarShowWinner::truncate();
|
||||||
//Insert Best In Show Winner
|
//Insert Best In Show Winner
|
||||||
CarShowWinner::updateOrCreate(
|
CarShowWinner::updateOrCreate(
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user