Index: /trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm
===================================================================
--- /trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm	(revision 5488)
+++ /trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm	(revision 5489)
@@ -1,5 +1,5 @@
 # Copyright (c) 2004  Joshua Hoblitt
 #
-# $Id: SQL.pm,v 1.12 2005-11-09 00:48:24 jhoblitt Exp $
+# $Id: SQL.pm,v 1.13 2005-11-09 00:59:20 jhoblitt Exp $
 
 package Nebulous::Server::SQL;
@@ -218,8 +218,7 @@
 CREATE TABLE class (
     class_id TINYINT NOT NULL AUTO_INCREMENT,
-    instance TINYINT NOT NULL,
     priority TINYINT,
     comment VARCHAR(255),
-    key(class_id)
+    PRIMARY KEY(class_id)
 ) ENGINE=innodb;
 
Index: /trunk/Nebulous/lib/Nebulous/Server/SQL.pm
===================================================================
--- /trunk/Nebulous/lib/Nebulous/Server/SQL.pm	(revision 5488)
+++ /trunk/Nebulous/lib/Nebulous/Server/SQL.pm	(revision 5489)
@@ -1,5 +1,5 @@
 # Copyright (c) 2004  Joshua Hoblitt
 #
-# $Id: SQL.pm,v 1.12 2005-11-09 00:48:24 jhoblitt Exp $
+# $Id: SQL.pm,v 1.13 2005-11-09 00:59:20 jhoblitt Exp $
 
 package Nebulous::Server::SQL;
@@ -218,8 +218,7 @@
 CREATE TABLE class (
     class_id TINYINT NOT NULL AUTO_INCREMENT,
-    instance TINYINT NOT NULL,
     priority TINYINT,
     comment VARCHAR(255),
-    key(class_id)
+    PRIMARY KEY(class_id)
 ) ENGINE=innodb;
 
