Groups table ID should auto increment

This commit is contained in:
gravitylow committed 2014-01-22 18:26:07 -05:00
1 parent c5fbdb2579
commit 18e67b97b7
1 file changed
+1 -1
@@ -46,7 +46,7 @@ public class MySQLGroupsHolder extends ConfigurationTable implements Groups {
groups = new ArrayList<Group>();
String sqlCreate = "CREATE TABLE IF NOT EXISTS " + getFullTable() + "(" +
" `id` INT NOT NULL," +
" `id` INT NOT NULL AUTO_INCREMENT," +
" `name` VARCHAR(45) NOT NULL," +
" `level` INT NOT NULL," +
" `color` VARCHAR(45) NOT NULL," +