fix phps, js for bet limit, css for board
This commit is contained in:
parent
b6e16acddd
commit
16184e5757
15
dump.txt
Normal file
15
dump.txt
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
INSERT INTO bets (uid, bet, created_at)
|
||||||
|
VALUES (1, 5000, CURRENT_TIMESTAMP())
|
||||||
|
ON DUPLICATE KEY UPDATE
|
||||||
|
bet = GREATEST(bet, VALUES(bet)),
|
||||||
|
created_at = CURRENT_TIMESTAMP();
|
||||||
|
|
||||||
|
# log biggest bets
|
||||||
|
|
||||||
|
INSERT INTO wins (uid, win, created_at)
|
||||||
|
VALUES (1, 5000, CURRENT_TIMESTAMP())
|
||||||
|
ON DUPLICATE KEY UPDATE
|
||||||
|
win = GREATEST(bet, VALUES(win)),
|
||||||
|
created_at = CURRENT_TIMESTAMP();
|
||||||
|
|
||||||
|
# log biggest bets
|
||||||
Loading…
x
Reference in New Issue
Block a user