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 7b0f95bcd842b3c18e8d9848fbedd66817b45e88..c579e54726738d89545e6d61f1f071b84e203142 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,
 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`),
 `points` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
 `locked_points` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
 PRIMARY KEY (`id`),