refid can accept NULL now
authorRoland Häder <roland@mxchange.org>
Tue, 27 Nov 2012 21:49:42 +0000 (21:49 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 27 Nov 2012 21:49:42 +0000 (21:49 +0000)
inc/extensions/ext-user.php

index 38bdeab834e52cbe7219463fabc9b4f07da0656a..4396672e91339df3060d25e3dc7d3cccd07b0c27 100644 (file)
@@ -77,7 +77,7 @@ INDEX (`cat_id`)",
 `password` VARCHAR(255) NOT NULL DEFAULT '',
 `max_mails` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 `receive_mails` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`refid` BIGINT(20) NOT NULL DEFAULT 0,
+`refid` BIGINT(20) NULL DEFAULT NULL,
 `status` ENUM('UNCONFIRMED','CONFIRMED','LOCKED') NOT NULL DEFAULT 'UNCONFIRMED',
 `user_hash` VARCHAR(255) NULL DEFAULT NULL,
 `REMOTE_ADDR` VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',