loot tracker service: use bigint for kill id
This commit is contained in:
@@ -43,7 +43,7 @@ import org.sql2o.Sql2o;
|
||||
public class LootTrackerService
|
||||
{
|
||||
private static final String CREATE_KILLS = "CREATE TABLE IF NOT EXISTS `loottracker_kills` (\n" +
|
||||
" `id` int(11) NOT NULL AUTO_INCREMENT,\n" +
|
||||
" `id` bigint NOT NULL AUTO_INCREMENT,\n" +
|
||||
" `first_time` timestamp NOT NULL DEFAULT current_timestamp(),\n" +
|
||||
" `last_time` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n" +
|
||||
" `accountId` int(11) NOT NULL,\n" +
|
||||
@@ -58,7 +58,7 @@ public class LootTrackerService
|
||||
") ENGINE=InnoDB;";
|
||||
|
||||
private static final String CREATE_DROPS = "CREATE TABLE IF NOT EXISTS `loottracker_drops` (\n" +
|
||||
" `killId` int(11),\n" +
|
||||
" `killId` bigint NOT NULL,\n" +
|
||||
" `itemId` int(11) NOT NULL,\n" +
|
||||
" `itemQuantity` int(11) NOT NULL,\n" +
|
||||
" UNIQUE INDEX idx_kill_item (`killId`, `itemId`),\n" +
|
||||
|
||||
Reference in New Issue
Block a user