Browse Source

HudType will default to 'STANDARD' for MySQL DB - only good for new users

nossr50 13 years ago
parent
commit
7e0b8ddf50
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/gmail/nossr50/util/Database.java

+ 1 - 1
src/main/java/com/gmail/nossr50/util/Database.java

@@ -63,7 +63,7 @@ public class Database {
      */
     public void createStructure() {
         write("CREATE TABLE IF NOT EXISTS `" + tablePrefix + "huds` (`user_id` int(10) unsigned NOT NULL,"
-                + "`hudtype` varchar(50) NOT NULL DEFAULT '',"
+                + "`hudtype` varchar(50) NOT NULL DEFAULT 'STANDARD',"
                 + "PRIMARY KEY (`user_id`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;");
         write("CREATE TABLE IF NOT EXISTS `" + tablePrefix + "users` (`id` int(10) unsigned NOT NULL AUTO_INCREMENT,"
                 + "`user` varchar(40) NOT NULL,"