1 DROP TABLE IF EXISTS `mxchange_admin_menu`;
\r
2 CREATE TABLE `mxchange_admin_menu` (
\r
3 `id` BIGINT(22) NOT NULL AUTO_INCREMENT,
\r
4 `action` VARCHAR(255) NOT NULL DEFAULT '',
\r
5 `what` VARCHAR(255) NULL DEFAULT NULL,
\r
6 `title` VARCHAR(50) NOT NULL DEFAULT '',
\r
7 `sort` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
8 `descr` BLOB NOT NULL,
\r
12 DROP TABLE IF EXISTS `mxchange_admins`;
\r
13 CREATE TABLE `mxchange_admins` (
\r
14 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
\r
15 `login` VARCHAR(100) NOT NULL DEFAULT '',
\r
16 `password` VARCHAR(40) NOT NULL DEFAULT '',
\r
20 DROP TABLE IF EXISTS `mxchange_cats`;
\r
21 CREATE TABLE `mxchange_cats` (
\r
22 `id` BIGINT(22) NOT NULL AUTO_INCREMENT,
\r
23 `cat` VARCHAR(255) NOT NULL DEFAULT '',
\r
24 `visible` ENUM('Y','N') NOT NULL DEFAULT 'Y',
\r
25 `sort` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
29 DROP TABLE IF EXISTS `mxchange_config`;
\r
30 CREATE TABLE `mxchange_config` (
\r
31 `config` tinyint(1) NOT NULL DEFAULT 0,
\r
32 `pass_len` TINYINT(3) UNSIGNED NOT NULL DEFAULT 5,
\r
33 `points_register` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
34 `points_ref` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
35 `least_cats` TINYINT(3) UNSIGNED NOT NULL DEFAULT 5,
\r
36 `check_double_email` ENUM('Y','N') NOT NULL DEFAULT 'Y',
\r
37 `check_double_pass` ENUM('Y','N') NOT NULL DEFAULT 'N',
\r
38 `admin_notify` ENUM('Y','N') NOT NULL DEFAULT 'Y',
\r
39 `url_tlock` BIGINT(20) UNSIGNED NOT NULL DEFAULT '86400',
\r
40 `test_text` ENUM('Y','N') NOT NULL DEFAULT 'Y',
\r
41 `max_tlength` BIGINT(20) UNSIGNED NOT NULL DEFAULT '1000',
\r
42 `test_subj` ENUM('Y','N') NOT NULL DEFAULT 'Y',
\r
43 `autosend_active` ENUM('Y','N') NOT NULL DEFAULT 'N',
\r
44 PRIMARY KEY (`config`)
\r
47 INSERT INTO `mxchange_config` VALUES (0,5,2000,200,5,'Y','N','Y',86400,'Y',1000,'Y','N');
\r
49 DROP TABLE IF EXISTS `mxchange_guest_menu`;
\r
50 CREATE TABLE `mxchange_guest_menu` (
\r
51 `id` BIGINT(22) NOT NULL AUTO_INCREMENT,
\r
52 `action` VARCHAR(255) NOT NULL DEFAULT '',
\r
53 `what` VARCHAR(255) NULL DEFAULT NULL,
\r
54 `title` VARCHAR(50) NOT NULL DEFAULT '',
\r
55 `sort` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
56 `visible` ENUM('Y','N') NOT NULL DEFAULT 'Y',
\r
57 `locked` ENUM('Y','N') NOT NULL DEFAULT 'Y',
\r
58 `counter` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
62 DROP TABLE IF EXISTS `mxchange_max_receive`;
\r
63 CREATE TABLE `mxchange_max_receive` (
\r
64 `id` BIGINT(22) NOT NULL AUTO_INCREMENT,
\r
65 `value` MEDIUMINT(9) NOT NULL DEFAULT 0,
\r
66 `comment` VARCHAR(255) NOT NULL DEFAULT '',
\r
70 DROP TABLE IF EXISTS `mxchange_member_menu`;
\r
71 CREATE TABLE `mxchange_member_menu` (
\r
72 `id` BIGINT(22) NOT NULL AUTO_INCREMENT,
\r
73 `action` VARCHAR(255) NOT NULL DEFAULT '',
\r
74 `what` VARCHAR(255) NULL DEFAULT NULL,
\r
75 `title` VARCHAR(50) NOT NULL DEFAULT '',
\r
76 `sort` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
77 `visible` ENUM('Y','N') NOT NULL DEFAULT 'Y',
\r
78 `locked` ENUM('Y','N') NOT NULL DEFAULT 'Y',
\r
79 `counter` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
83 DROP TABLE IF EXISTS `mxchange_mod_reg`;
\r
84 CREATE TABLE `mxchange_mod_reg` (
\r
85 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
\r
86 `module` VARCHAR(50) NOT NULL DEFAULT '',
\r
87 `locked` ENUM('Y','N') NOT NULL DEFAULT 'Y',
\r
88 `hidden` ENUM('Y','N') NOT NULL DEFAULT 'N',
\r
89 `admin_only` ENUM('Y','N') NOT NULL DEFAULT 'N',
\r
90 `title` VARCHAR(200) NOT NULL DEFAULT '',
\r
91 `mem_only` ENUM('Y','N') NOT NULL DEFAULT 'N',
\r
92 `clicks` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
96 INSERT INTO `mxchange_mod_reg` VALUES (1,'admin','N','N','Y','','N',0);
\r
97 INSERT INTO `mxchange_mod_reg` VALUES (2,'index','N','N','N','','N',0);
\r
98 INSERT INTO `mxchange_mod_reg` VALUES (3,'frameset','Y','N','N','','N',0);
\r
99 INSERT INTO `mxchange_mod_reg` VALUES (4,'login','N','N','N','','Y',0);
\r
100 INSERT INTO `mxchange_mod_reg` VALUES (6,'frametester','N','Y','N','','N',0);
\r
101 INSERT INTO `mxchange_mod_reg` VALUES (7,'loader','N','Y','N','','N',0);
\r
102 INSERT INTO `mxchange_mod_reg` VALUES (8,'order','N','N','N','','N',0);
\r
104 DROP TABLE IF EXISTS `mxchange_payments`;
\r
105 CREATE TABLE `mxchange_payments` (
\r
106 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
\r
107 `time` INT(7) NOT NULL DEFAULT 0,
\r
108 `payment` FLOAT(5,3) UNSIGNED NOT NULL DEFAULT '0.000',
\r
109 `mail_title` VARCHAR(255) NOT NULL DEFAULT '',
\r
110 `price` FLOAT(5,5) UNSIGNED NOT NULL DEFAULT '0.00000',
\r
114 DROP TABLE IF EXISTS `mxchange_pool`;
\r
115 CREATE TABLE `mxchange_pool` (
\r
116 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
\r
117 `sender` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
118 `subject` VARCHAR(200) NOT NULL DEFAULT '',
\r
119 `text` LONGBLOB NOT NULL,
\r
120 `receivers` LONGBLOB NOT NULL,
\r
121 `payment_id` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
\r
122 `data_type` ENUM('TEMP','SEND','NEW','ADMIN') NOT NULL DEFAULT 'TEMP',
\r
123 `timestamp` VARCHAR(10) NOT NULL DEFAULT 0,
\r
124 `url` TINYTEXT NOT NULL,
\r
125 `target_send` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
126 `cat_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
130 DROP TABLE IF EXISTS `mxchange_refbanner`;
\r
131 CREATE TABLE `mxchange_refbanner` (
\r
132 `id` BIGINT(22) NOT NULL AUTO_INCREMENT,
\r
133 `url` TEXT NOT NULL,
\r
134 `alternate` TEXT NOT NULL,
\r
135 `visible` ENUM('Y','N') NOT NULL DEFAULT 'Y',
\r
136 `counter` BIGINT(22) NOT NULL DEFAULT 0,
\r
140 DROP TABLE IF EXISTS `mxchange_refdepths`;
\r
141 CREATE TABLE `mxchange_refdepths` (
\r
142 `id` TINYINT(3) UNSIGNED NOT NULL AUTO_INCREMENT,
\r
143 `level` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
\r
144 `percents` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
\r
148 INSERT INTO `mxchange_refdepths` VALUES (1,0,100);
\r
149 INSERT INTO `mxchange_refdepths` VALUES (2,1,30);
\r
150 INSERT INTO `mxchange_refdepths` VALUES (3,2,15);
\r
151 INSERT INTO `mxchange_refdepths` VALUES (4,3,10);
\r
152 INSERT INTO `mxchange_refdepths` VALUES (5,4,8);
\r
153 INSERT INTO `mxchange_refdepths` VALUES (6,5,5);
\r
155 DROP TABLE IF EXISTS `mxchange_refsystem`;
\r
156 CREATE TABLE `mxchange_refsystem` (
\r
157 `id` BIGINT(22) NOT NULL AUTO_INCREMENT,
\r
158 `userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
159 `level` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
\r
160 `counter` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
164 DROP TABLE IF EXISTS `mxchange_user_cats`;
\r
165 CREATE TABLE `mxchange_user_cats` (
\r
166 `id` BIGINT(22) NOT NULL AUTO_INCREMENT,
\r
167 `userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
168 `cat_id` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
\r
172 DROP TABLE IF EXISTS `mxchange_user_data`;
\r
173 CREATE TABLE `mxchange_user_data` (
\r
174 `userid` BIGINT(22) NOT NULL AUTO_INCREMENT,
\r
175 `surname` VARCHAR(255) NOT NULL DEFAULT '',
\r
176 `family` VARCHAR(255) NOT NULL DEFAULT '',
\r
177 `street_nr` VARCHAR(255) NOT NULL DEFAULT '',
\r
178 `country` VARCHAR(4) NOT NULL DEFAULT '',
\r
179 `zip` VARCHAR(6) NOT NULL DEFAULT '',
\r
180 `city` VARCHAR(255) NOT NULL DEFAULT '',
\r
181 `email` VARCHAR(255) NOT NULL DEFAULT '',
\r
182 `birth_day` CHAR(2) NOT NULL DEFAULT '01',
\r
183 `birth_month` CHAR(2) NOT NULL DEFAULT '01',
\r
184 `birth_year` VARCHAR(4) NOT NULL DEFAULT '1970',
\r
185 `password` VARCHAR(32) NOT NULL DEFAULT '',
\r
186 `max_mails` INT(7) NOT NULL DEFAULT 0,
\r
187 `receive_mails` INT(7) NOT NULL DEFAULT 0,
\r
188 `refid` BIGINT(22) NOT NULL DEFAULT 0,
\r
189 `status` ENUM('UNCONFIRMED','CONFIRMED','LOCKED') NOT NULL DEFAULT 'UNCONFIRMED',
\r
190 `user_hash` VARCHAR(32) NOT NULL DEFAULT '',
\r
191 `REMOTE_ADDR` VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',
\r
192 `last_online` VARCHAR(10) NOT NULL DEFAULT 0,
\r
193 `last_module` VARCHAR(20) NOT NULL DEFAULT '',
\r
194 `ref_clicks` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
195 `total_logins` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
196 `gender` ENUM('M','F') NOT NULL DEFAULT 'M',
\r
197 `used_points` FLOAT(22,3) NOT NULL DEFAULT '0.000',
\r
198 `emails_sent` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
199 PRIMARY KEY (`userid`)
\r
202 DROP TABLE IF EXISTS `mxchange_user_points`;
\r
203 CREATE TABLE `mxchange_user_points` (
\r
204 `id` BIGINT(22) NOT NULL AUTO_INCREMENT,
\r
205 `userid` BIGINT(22) NOT NULL DEFAULT 0,
\r
206 `ref_depth` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
\r
207 `points` FLOAT(22,3) NOT NULL DEFAULT '0.000',
\r
211 ALTER TABLE `mxchange_config` ADD `max_send` TINYINT(3) UNSIGNED NOT NULL DEFAULT '100';
\r
212 ALTER TABLE `mxchange_config` ADD `url_blacklist` ENUM('Y','N') NOT NULL DEFAULT 'Y';
\r
213 ALTER TABLE `mxchange_config` ADD `auto_purge` TINYINT(3) UNSIGNED NOT NULL DEFAULT '14';
\r
214 ALTER TABLE `mxchange_config` ADD `auto_purge_active` ENUM('Y','N') NOT NULL DEFAULT 'Y';
\r
216 ALTER TABLE `mxchange_pool` MODIFY `url` TINYTEXT NOT NULL;
\r
217 ALTER TABLE `mxchange_pool` CHANGE `url` `url` TINYBLOB NOT NULL;
\r
218 ALTER TABLE `mxchange_pool` MODIFY `data_type` ENUM('TEMP','SEND','NEW','ADMIN','ACTIVE') NOT NULL DEFAULT 'TEMP';
\r
220 DROP TABLE IF EXISTS `mxchange_user_links`;
\r
221 CREATE TABLE `mxchange_user_links` (
\r
222 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
\r
223 `stats_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
224 `userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
225 `link_type` ENUM('NORMAL') NOT NULL DEFAULT 'NORMAL',
\r
229 DROP TABLE IF EXISTS `mxchange_user_stats`;
\r
230 CREATE TABLE `mxchange_user_stats` (
\r
231 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
\r
232 `userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
233 `cat_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
234 `payment_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
235 `subject` VARCHAR(200) NOT NULL DEFAULT '',
\r
236 `url` TINYBLOB NOT NULL,
\r
237 `max_rec` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
238 `timestamp_ordered` VARCHAR(10) NOT NULL DEFAULT '',
\r
239 `pool_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
240 `timestamp_sstart` VARCHAR(10) NOT NULL DEFAULT '',
\r
241 `timestamp_send` VARCHAR(10) NOT NULL DEFAULT '',
\r
245 ALTER TABLE `mxchange_user_data` ADD `joined` VARCHAR(10) NOT NULL DEFAULT 0;
\r
246 ALTER TABLE `mxchange_config` ADD `last_update` VARCHAR(10) NOT NULL DEFAULT 0;
\r
248 INSERT INTO `mxchange_mod_reg` VALUES (NULL,'chk_login','N','N','N','','N',0);
\r
249 ALTER TABLE `mxchange_pool` MODIFY `data_type` ENUM('TEMP','SEND','NEW','ADMIN','ACTIVE') NOT NULL DEFAULT 'TEMP';
\r
250 ALTER TABLE `mxchange_config` ADD `unconfirmed` BIGINT(20) UNSIGNED NOT NULL DEFAULT '100';
\r
251 ALTER TABLE `mxchange_config` ADD `profile_lock` BIGINT(20) UNSIGNED NOT NULL DEFAULT '86400';
\r
252 ALTER TABLE `mxchange_user_data` ADD `last_update` VARCHAR(10) NOT NULL DEFAULT 0;
\r
253 ALTER TABLE `mxchange_refbanner` ADD `clicks` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0;
\r
254 ALTER TABLE `mxchange_config` ADD `online_timeout` BIGINT(20) UNSIGNED NOT NULL DEFAULT '1800';
\r
256 ALTER TABLE `mxchange_config` ADD `mad_timestamp` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0;
\r
257 ALTER TABLE `mxchange_config` ADD `mad_count` BIGINT(20) UNSIGNED NOT NULL;
\r
258 ALTER TABLE `mxchange_config` ADD `profile_update` BIGINT(20) UNSIGNED NOT NULL DEFAULT '15768000';
\r
259 ALTER TABLE `mxchange_config` ADD `send_prof_update` ENUM('Y','N') NOT NULL DEFAULT 'Y';
\r
260 ALTER TABLE `mxchange_config` ADD `resend_profile_update` BIGINT(20) UNSIGNED NOT NULL DEFAULT '172800';
\r
262 ALTER TABLE `mxchange_user_data` ADD `last_profile_sent` VARCHAR(10) NOT NULL DEFAULT 0;
\r
263 ALTER TABLE `mxchange_user_data` ADD `notified` ENUM('Y','N') NOT NULL DEFAULT 'N';
\r
265 ALTER TABLE `mxchange_config` ADD `patch_level` VARCHAR(100) NOT NULL DEFAULT '78';
\r
266 ALTER TABLE `mxchange_config` ADD `patch_ctime` VARCHAR(10) NOT NULL DEFAULT 0;
\r
268 ALTER TABLE `mxchange_admins` ADD `email` VARCHAR(255) NOT NULL;
\r
270 DROP TABLE IF EXISTS `mxchange_task_system`;
\r
271 CREATE TABLE `mxchange_task_system` (
\r
272 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
\r
273 `assigned_admin` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
274 `userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
\r
275 `status` ENUM('NEW','OPEN','SOLVED','CLOSED','DELETED') NOT NULL DEFAULT 'NEW',
\r
276 `task_type` ENUM('FIRST_USER','SUPPORT_MEMBER','SUPPORT_ADMIN','OTHERS','EXTENSION','EXTENSION_UPDATE') NOT NULL DEFAULT 'FIRST_USER',
\r
277 `subject` VARCHAR(255) NOT NULL DEFAULT '',
\r
278 `text` LONGBLOB NOT NULL,
\r
279 `task_created` VARCHAR(10) NOT NULL DEFAULT 0,
\r
280 KEY (`assigned_admin`),
\r
284 ALTER TABLE `mxchange_pool` ADD INDEX (`sender`);
\r
285 ALTER TABLE `mxchange_pool` ADD INDEX (`payment_id`);
\r
286 ALTER TABLE `mxchange_pool` ADD INDEX (`cat_id`);
\r
287 ALTER TABLE `mxchange_refsystem` ADD INDEX (`userid`);
\r
288 ALTER TABLE `mxchange_task_system` ADD INDEX (`assigned_admin`);
\r
289 ALTER TABLE `mxchange_task_system` ADD INDEX (`userid`);
\r
290 ALTER TABLE `mxchange_user_cats` ADD INDEX (`userid`);
\r
291 ALTER TABLE `mxchange_user_cats` ADD INDEX (`cat_id`);
\r
292 ALTER TABLE `mxchange_user_data` ADD INDEX (`refid`);
\r
293 ALTER TABLE `mxchange_user_links` ADD INDEX (`userid`);
\r
294 ALTER TABLE `mxchange_user_links` ADD INDEX (`stats_id`);
\r
295 ALTER TABLE `mxchange_user_points` ADD INDEX (`userid`);
\r
296 ALTER TABLE `mxchange_user_stats` ADD INDEX (`userid`);
\r
297 ALTER TABLE `mxchange_user_stats` ADD INDEX (`cat_id`);
\r
298 ALTER TABLE `mxchange_user_stats` ADD INDEX (`payment_id`);
\r
299 ALTER TABLE `mxchange_user_stats` ADD INDEX (`pool_id`);
\r
301 ALTER TABLE `mxchange_user_stats` ADD `clicks` BIGINT(20) UNSIGNED NOT NULL;
\r
302 ALTER TABLE `mxchange_config` ADD `code_length` TINYINT(3) UNSIGNED NOT NULL DEFAULT 5;
\r
303 ALTER TABLE `mxchange_config` ADD `guest_stats` ENUM('MEMBERS','MODULES','INACTIVE') NOT NULL DEFAULT 'MEMBERS';
\r
304 ALTER TABLE `mxchange_config` ADD `ref_payout` TINYINT(3) UNSIGNED NOT NULL DEFAULT 5;
\r
305 ALTER TABLE `mxchange_user_data` ADD `ref_payout` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0;
\r
306 ALTER TABLE `mxchange_user_points` ADD `locked_points` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0;
\r
308 DROP TABLE IF EXISTS `mxchange_extensions`;
\r
309 CREATE TABLE `mxchange_extensions` (
\r
310 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
\r
311 `ext_name` VARCHAR(255) NOT NULL DEFAULT '',
\r
312 `ext_active` ENUM('Y','N') NOT NULL DEFAULT 'N',
\r
313 `ext_version` VARCHAR(255) NOT NULL DEFAULT 'INVALID',
\r
317 DROP TABLE IF EXISTS `mxchange_jackpot`;
\r
318 CREATE TABLE `mxchange_jackpot` (
\r
319 `ok` CHAR(2) NOT NULL DEFAULT 'ok',
\r
320 `points` FLOAT(20,3) NOT NULL DEFAULT '0.000',
\r
324 ALTER TABLE `mxchange_config` ADD `activate_xchange` BIGINT(20) UNSIGNED NOT NULL DEFAULT 100;
\r
325 ALTER TABLE `mxchange_config` ADD `order_multi_page` ENUM('Y','N') NOT NULL DEFAULT 'Y';
\r
326 ALTER TABLE `mxchange_config` ADD `display_refid` ENUM('Y','N') NOT NULL DEFAULT 'Y';
\r
327 ALTER TABLE `mxchange_config` ADD `ip_timeout` BIGINT(20) UNSIGNED NOT NULL DEFAULT 86400;
\r
328 ALTER TABLE `mxchange_pool` ADD `zip` VARCHAR(6) NOT NULL DEFAULT '';
\r
330 ALTER TABLE `mxchange_task_system` CHANGE `task_type` `task_type` VARCHAR(255) NOT NULL DEFAULT 'FIRST_USER';
\r
331 ALTER TABLE `mxchange_user_data` MODIFY `zip` VARCHAR(6) NOT NULL DEFAULT '';
\r
332 ALTER TABLE `mxchange_user_data` MODIFY `last_module` VARCHAR(255) NOT NULL DEFAULT '';
\r
333 ALTER TABLE `mxchange_config` ADD `allow_direct_pay` ENUM('Y','N') NOT NULL DEFAULT 'N';
\r
334 ALTER TABLE `mxchange_user_data` MODIFY `last_profile_sent` VARCHAR(10) NOT NULL DEFAULT 0;
\r
335 ALTER TABLE `mxchange_user_data` MODIFY `last_update` VARCHAR(10) NOT NULL DEFAULT 0;
\r
336 ALTER TABLE `mxchange_user_data` MODIFY `joined` VARCHAR(10) NOT NULL DEFAULT 0;
\r
337 ALTER TABLE `mxchange_user_data` MODIFY `last_online` VARCHAR(10) NOT NULL DEFAULT 0;
\r