Fix winstreak sql
This commit is contained in:
parent
8a77f53314
commit
248c109627
@ -7,7 +7,7 @@ import mineplex.serverdata.database.column.ColumnInt;
|
|||||||
class WinStreakRepository extends RepositoryBase
|
class WinStreakRepository extends RepositoryBase
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final String UPDATE_OR_INSERT = "INSERT INTO accountWinStreak VALUES (?,?,?) ON DUPLICATE KEY value=value+1";
|
private static final String UPDATE_OR_INSERT = "INSERT INTO accountWinStreak VALUES (?,?,?) ON DUPLICATE KEY UPDATE value=value+1";
|
||||||
private static final String DELETE = "DELETE FROM accountWinStreak WHERE accountId=? AND gameId=?";
|
private static final String DELETE = "DELETE FROM accountWinStreak WHERE accountId=? AND gameId=?";
|
||||||
|
|
||||||
WinStreakRepository()
|
WinStreakRepository()
|
||||||
|
Loading…
Reference in New Issue
Block a user