From 802cb199763cb9201f56da9db153827573abcb65 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sun, 31 Mar 2013 18:35:35 -0500 Subject: [PATCH] Fix Issue#18 --- database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.js b/database.js index 7b9b0801..3b8af244 100644 --- a/database.js +++ b/database.js @@ -38,7 +38,7 @@ exports.init = function() { } var query = "CREATE TABLE IF NOT EXISTS `registrations` \ - (`id` INT NOT NULL, \ + (`id` INT NOT NULL AUTO_INCREMENT, \ `uname` VARCHAR(20) NOT NULL, \ `pw` VARCHAR(64) NOT NULL, \ `global_rank` INT NOT NULL, \