- addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_user_data` (
- `userid` BIGINT(22) NOT NULL AUTO_INCREMENT,
- `surname` VARCHAR(255) NOT NULL DEFAULT '',
- `family` VARCHAR(255) NOT NULL DEFAULT '',
- `street_nr` VARCHAR(255) NOT NULL DEFAULT '',
- `country` VARCHAR(4) NOT NULL DEFAULT '',
- `zip` VARCHAR(6) NOT NULL DEFAULT '',
- `city` VARCHAR(255) NOT NULL DEFAULT '',
- `email` VARCHAR(255) NOT NULL DEFAULT '',
- `birth_day` CHAR(2) NOT NULL DEFAULT '01',
- `birth_month` CHAR(2) NOT NULL DEFAULT '01',
- `birth_year` VARCHAR(4) NOT NULL DEFAULT '1970',
- `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(22) NOT NULL DEFAULT 0,
- `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',
- `last_online` VARCHAR(10) NOT NULL DEFAULT 0,
- `last_module` VARCHAR(255) NOT NULL DEFAULT '',
- `ref_clicks` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
- `total_logins` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
- `gender` ENUM('M','F') NOT NULL DEFAULT 'M',
- `used_points` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
- `emails_sent` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
- `joined` VARCHAR(10) NOT NULL DEFAULT 0,
- `last_update` VARCHAR(10) NOT NULL DEFAULT 0,
- `last_profile_sent` VARCHAR(10) NOT NULL DEFAULT 0,
- `notified` ENUM('Y','N') NOT NULL DEFAULT 'N',
- `ref_payout` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
- `last_login` VARCHAR(10) NOT NULL DEFAULT 0,
- `login_failures` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
- `last_failure` TIMESTAMP NULL DEFAULT NULL,
-PRIMARY KEY (`userid`),
+ addCreateTableSql('user_data', "(
+`userid` BIGINT(22) NOT NULL AUTO_INCREMENT,
+`surname` VARCHAR(255) NOT NULL DEFAULT '',
+`family` VARCHAR(255) NOT NULL DEFAULT '',
+`street_nr` VARCHAR(255) NOT NULL DEFAULT '',
+`country` VARCHAR(4) NOT NULL DEFAULT '',
+`zip` VARCHAR(6) NOT NULL DEFAULT '',
+`city` VARCHAR(255) NOT NULL DEFAULT '',
+`email` VARCHAR(255) NOT NULL DEFAULT '',
+`birth_day` CHAR(2) NOT NULL DEFAULT '01',
+`birth_month` CHAR(2) NOT NULL DEFAULT '01',
+`birth_year` VARCHAR(4) NOT NULL DEFAULT '1970',
+`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(22) NOT NULL DEFAULT 0,
+`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',
+`last_online` VARCHAR(10) NOT NULL DEFAULT 0,
+`last_module` VARCHAR(255) NOT NULL DEFAULT '',
+`ref_clicks` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`total_logins` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`gender` ENUM('M','F') NOT NULL DEFAULT 'M',
+`used_points` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
+`emails_sent` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`joined` VARCHAR(10) NOT NULL DEFAULT 0,
+`last_update` VARCHAR(10) NOT NULL DEFAULT 0,
+`last_profile_sent` VARCHAR(10) NOT NULL DEFAULT 0,
+`notified` ENUM('Y','N') NOT NULL DEFAULT 'N',
+`ref_payout` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
+`last_login` VARCHAR(10) NOT NULL DEFAULT 0,
+`login_failures` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`last_failure` TIMESTAMP NULL DEFAULT NULL,
+PRIMARY KEY (`userid`),