From c97e6f3f84e5ca9967cdc213f1dfc9af4e285899 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sun, 31 Mar 2013 18:38:20 -0500 Subject: [PATCH] Extra fix for Issue#18 --- database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.js b/database.js index 3b8af244..7654a174 100644 --- a/database.js +++ b/database.js @@ -27,7 +27,7 @@ exports.init = function() { return false; } var query = "CREATE TABLE IF NOT EXISTS `channels` \ - (`id` INT NOT NULL, \ + (`id` INT NOT NULL AUTO_INCREMENT, \ `name` VARCHAR(255) NOT NULL, \ PRIMARY KEY (`id`)) \ ENGINE = MyISAM;";