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

@@ -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,