add touch updated_at

This commit is contained in:
salam committed 2026-01-17 15:55:50 +01:00
1 parent 1156680b77
commit 1bb3daca93
15 files changed
+17 -4

No files matched your search

@@ -17,6 +17,7 @@ class _3Way
$odds['starttime'] = (string) $value['starttime'];
}
$odds['margin'] = (float) Margin::calculate([$odds['h3w'], $odds['d3w'], $odds['a3w']], 1);
$odds['updated_at'] = DB::raw('NOW()');
DB::table('odds_3ways')->updateOrInsert([
'event_id' => Nuh::$id,