Must be updated here as well :(
authorRoland Häder <roland@mxchange.org>
Thu, 20 Jun 2013 20:57:43 +0000 (20:57 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Jun 2013 20:57:43 +0000 (20:57 +0000)
inc/extensions/user/mode-setup.php

index 7b0f95b..c579e54 100644 (file)
@@ -96,7 +96,7 @@ addDropTableSql('user_points');
 addCreateTableSql('user_points', "
 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
 `userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`ref_depth` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
+`ref_depth` TINYINT(3) UNSIGNED NULL DEFAULT NULL,
 `points` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
 `locked_points` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
 PRIMARY KEY (`id`),