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 _Dc
$odds['dcx2'] = (float) $value->o3;
}
$odds['margin'] = (float) Margin::calculate([$odds['dc1x'], $odds['dc12'], $odds['dcx2']], 1);
$odds['updated_at'] = DB::raw('NOW()');
DB::table('odds_dc')->updateOrInsert([
'event_id' => Nuh::$id,