add touch updated_at
This commit is contained in:
1 parent
1156680b77
commit
1bb3daca93
15 files changed
+17
-4
No files matched your search
@@ -23,6 +23,7 @@ class _Points
|
||||
|
||||
$odds['margin'] = (float) Margin::calculate([$odds['home'], $odds['away']], 1);
|
||||
$odds['difference'] = abs(1 / $odds['home'] - 1 / $odds['away']);
|
||||
$odds['updated_at'] = DB::raw('NOW()');
|
||||
|
||||
ActiveSpread::collect($odds, 'odds_points');
|
||||
|
||||
|
||||
Reference in new issue
Block a user