add touch updated_at
This commit is contained in:
1 parent
1156680b77
commit
1bb3daca93
15 files changed
+17
-4
No files matched your search
@@ -16,6 +16,7 @@ class _2Way
|
||||
$odds['starttime'] = (string) $value['starttime'];
|
||||
}
|
||||
$odds['margin'] = (float) Margin::calculate([$odds['h2w'], $odds['a2w']], 1);
|
||||
$odds['updated_at'] = DB::raw('NOW()');
|
||||
|
||||
DB::table('odds_2ways')->updateOrInsert([
|
||||
'event_id' => Nuh::$id,
|
||||
|
||||
Reference in new issue
Block a user