2 -- version 3.4.10.1deb1
3 -- http://www.phpmyadmin.net
6 -- Generation Time: Jul 14, 2014 at 10:03 AM
7 -- Server version: 5.5.37
8 -- PHP Version: 5.3.10-1ubuntu3.11
10 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
11 SET time_zone = "+00:00";
14 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
15 /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
16 /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
17 /*!40101 SET NAMES utf8mb4 */;
20 -- Database: `nel_tool`
23 -- --------------------------------------------------------
26 -- Table structure for table `neltool_annotations`
29 CREATE TABLE IF NOT EXISTS `neltool_annotations` (
30 `annotation_id` int(11) NOT NULL AUTO_INCREMENT,
31 `annotation_domain_id` int(11) DEFAULT NULL,
32 `annotation_shard_id` int(11) DEFAULT NULL,
33 `annotation_data` varchar(255) NOT NULL DEFAULT '',
34 `annotation_user_name` varchar(32) NOT NULL DEFAULT '',
35 `annotation_date` int(11) NOT NULL DEFAULT '0',
36 PRIMARY KEY (`annotation_id`),
37 UNIQUE KEY `annotation_shard_id` (`annotation_shard_id`),
38 UNIQUE KEY `annotation_domain_id` (`annotation_domain_id`)
39 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=2 ;
42 -- Dumping data for table `neltool_annotations`
45 INSERT INTO `neltool_annotations` (`annotation_id`, `annotation_domain_id`, `annotation_shard_id`, `annotation_data`, `annotation_user_name`, `annotation_date`) VALUES
46 (1, NULL, 106, 'Welcome to the Shard Admin Website!', 'vl', 1272378352);
48 -- --------------------------------------------------------
51 -- Table structure for table `neltool_applications`
54 CREATE TABLE IF NOT EXISTS `neltool_applications` (
55 `application_id` int(11) NOT NULL AUTO_INCREMENT,
56 `application_name` varchar(64) NOT NULL DEFAULT '',
57 `application_uri` varchar(255) NOT NULL DEFAULT '',
58 `application_restriction` varchar(64) NOT NULL DEFAULT '',
59 `application_order` int(11) NOT NULL DEFAULT '0',
60 `application_visible` int(11) NOT NULL DEFAULT '0',
61 `application_icon` varchar(128) NOT NULL DEFAULT '',
62 PRIMARY KEY (`application_id`)
63 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=40 ;
66 -- Dumping data for table `neltool_applications`
69 INSERT INTO `neltool_applications` (`application_id`, `application_name`, `application_uri`, `application_restriction`, `application_order`, `application_visible`, `application_icon`) VALUES
70 (1, 'Main', 'index.php', '', 100, 1, 'imgs/icon_main.gif'),
71 (2, 'Logout', 'index.php?mode=logout', '', 999999, 1, 'imgs/icon_logout.gif'),
72 (3, 'Admin', 'tool_administration.php', 'tool_admin', 1500, 1, 'imgs/icon_admin.gif'),
73 (4, 'Prefs', 'tool_preferences.php', 'tool_preferences', 1000, 1, 'imgs/icon_preferences.gif'),
74 (5, 'Admin/Users', '', 'tool_admin_user', 1502, 0, ''),
75 (6, 'Admin/Applications', '', 'tool_admin_application', 1501, 0, ''),
76 (7, 'Admin/Domains', '', 'tool_admin_domain', 1504, 0, ''),
77 (8, 'Admin/Shards', '', 'tool_admin_shard', 1505, 0, ''),
78 (9, 'Admin/Groups', '', 'tool_admin_group', 1503, 0, ''),
79 (10, 'Admin/Logs', '', 'tool_admin_logs', 1506, 0, ''),
80 (11, 'Main/Start', '', 'tool_main_start', 101, 0, ''),
81 (12, 'Main/Stop', '', 'tool_main_stop', 102, 0, ''),
82 (13, 'Main/Restart', '', 'tool_main_restart', 103, 0, ''),
83 (14, 'Main/Kill', '', 'tool_main_kill', 104, 0, ''),
84 (15, 'Main/Abort', '', 'tool_main_abort', 105, 0, ''),
85 (16, 'Main/Execute', '', 'tool_main_execute', 108, 0, ''),
86 (18, 'Notes', 'tool_notes.php', 'tool_notes', 900, 1, 'imgs/icon_notes.gif'),
87 (19, 'Player Locator', 'tool_player_locator.php', 'tool_player_locator', 200, 1, 'imgs/icon_player_locator.gif'),
88 (20, 'Player Locator/Display Players', '', 'tool_player_locator_display_players', 201, 0, ''),
89 (21, 'Player Locator/Locate', '', 'tool_player_locator_locate', 202, 0, ''),
90 (22, 'Main/LockDomain', '', 'tool_main_lock_domain', 110, 0, ''),
91 (23, 'Main/LockShard', '', 'tool_main_lock_shard', 111, 0, ''),
92 (24, 'Main/WS', '', 'tool_main_ws', 112, 0, ''),
93 (25, 'Main/ResetCounters', '', 'tool_main_reset_counters', 113, 0, ''),
94 (26, 'Main/ServiceAutoStart', '', 'tool_main_service_autostart', 114, 0, ''),
95 (27, 'Main/ShardAutoStart', '', 'tool_main_shard_autostart', 115, 0, ''),
96 (28, 'Main/WS/Old', '', 'tool_main_ws_old', 112, 0, ''),
97 (29, 'Graphs', 'tool_graphs.php', 'tool_graph', 500, 1, 'imgs/icon_graphs.gif'),
98 (30, 'Notes/Global', '', 'tool_notes_global', 901, 0, ''),
99 (31, 'Log Analyser', 'tool_log_analyser.php', 'tool_las', 400, 1, 'imgs/icon_log_analyser.gif'),
100 (32, 'Guild Locator', 'tool_guild_locator.php', 'tool_guild_locator', 300, 1, 'imgs/icon_guild_locator.gif'),
101 (33, 'Player Locator/UserID Check', '', 'tool_player_locator_userid_check', 203, 0, ''),
102 (34, 'Player Locator/CSR Relocate', '', 'tool_player_locator_csr_relocate', 204, 0, ''),
103 (35, 'Guild Locator/Guilds Update', '', 'tool_guild_locator_manage_guild', 301, 0, ''),
104 (36, 'Guild Locator/Members Update', '', 'tool_guild_locator_manage_members', 302, 0, ''),
105 (37, 'Entities', 'tool_event_entities.php', 'tool_event_entities', 350, 1, 'imgs/icon_entity.gif'),
106 (38, 'Admin/Restarts', '', 'tool_admin_restart', 1507, 0, ''),
107 (39, 'Main/EasyRestart', '', 'tool_main_easy_restart', 116, 0, '');
109 -- --------------------------------------------------------
112 -- Table structure for table `neltool_domains`
115 CREATE TABLE IF NOT EXISTS `neltool_domains` (
116 `domain_id` int(11) NOT NULL AUTO_INCREMENT,
117 `domain_name` varchar(128) NOT NULL DEFAULT '',
118 `domain_as_host` varchar(128) NOT NULL DEFAULT '',
119 `domain_as_port` int(11) NOT NULL DEFAULT '0',
120 `domain_rrd_path` varchar(255) NOT NULL DEFAULT '',
121 `domain_las_admin_path` varchar(255) NOT NULL DEFAULT '',
122 `domain_las_local_path` varchar(255) NOT NULL DEFAULT '',
123 `domain_application` varchar(128) NOT NULL DEFAULT '',
124 `domain_sql_string` varchar(128) NOT NULL DEFAULT '',
125 `domain_hd_check` int(11) NOT NULL DEFAULT '0',
126 `domain_mfs_web` text,
127 `domain_cs_sql_string` varchar(255) DEFAULT NULL,
128 PRIMARY KEY (`domain_id`)
129 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
131 -- --------------------------------------------------------
134 -- Table structure for table `neltool_groups`
137 CREATE TABLE IF NOT EXISTS `neltool_groups` (
138 `group_id` int(11) NOT NULL AUTO_INCREMENT,
139 `group_name` varchar(32) NOT NULL DEFAULT 'NewGroup',
140 `group_level` int(11) NOT NULL DEFAULT '0',
141 `group_default` int(11) NOT NULL DEFAULT '0',
142 `group_active` int(11) NOT NULL DEFAULT '0',
143 `group_default_domain_id` tinyint(3) unsigned DEFAULT NULL,
144 `group_default_shard_id` smallint(3) unsigned DEFAULT NULL,
145 PRIMARY KEY (`group_id`)
146 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=10 ;
149 -- Dumping data for table `neltool_groups`
152 INSERT INTO `neltool_groups` (`group_id`, `group_name`, `group_level`, `group_default`, `group_active`, `group_default_domain_id`, `group_default_shard_id`) VALUES
153 (1, 'AdminGroup', 0, 0, 1, 20, 300),
154 (2, 'DeveloperGroup', 0, 1, 1, 20, 300),
155 (3, 'AdminDebugGroup', 10, 0, 1, 20, 300),
156 (4, 'SupportSGMGroup', 0, 0, 1, NULL, NULL),
157 (6, 'SupportGMGroup', 0, 0, 1, NULL, NULL),
158 (7, 'SupportReadOnlyGroup', 0, 0, 1, NULL, NULL),
159 (8, 'DeveloperLevelDesigners', 0, 0, 1, 20, 300),
160 (9, 'DeveloperReadOnlyGroup', 0, 0, 1, 20, 300);
162 -- --------------------------------------------------------
165 -- Table structure for table `neltool_group_applications`
168 CREATE TABLE IF NOT EXISTS `neltool_group_applications` (
169 `group_application_id` int(11) NOT NULL AUTO_INCREMENT,
170 `group_application_group_id` int(11) NOT NULL DEFAULT '0',
171 `group_application_application_id` int(11) NOT NULL DEFAULT '0',
172 PRIMARY KEY (`group_application_id`),
173 KEY `group_application_group_id` (`group_application_group_id`),
174 KEY `group_application_application_id` (`group_application_application_id`)
175 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=966 ;
178 -- Dumping data for table `neltool_group_applications`
181 INSERT INTO `neltool_group_applications` (`group_application_id`, `group_application_group_id`, `group_application_application_id`) VALUES
361 -- --------------------------------------------------------
364 -- Table structure for table `neltool_group_domains`
367 CREATE TABLE IF NOT EXISTS `neltool_group_domains` (
368 `group_domain_id` int(11) NOT NULL AUTO_INCREMENT,
369 `group_domain_group_id` int(11) NOT NULL DEFAULT '0',
370 `group_domain_domain_id` int(11) NOT NULL DEFAULT '0',
371 PRIMARY KEY (`group_domain_id`),
372 KEY `group_domain_group_id` (`group_domain_group_id`)
373 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
375 -- --------------------------------------------------------
378 -- Table structure for table `neltool_group_shards`
381 CREATE TABLE IF NOT EXISTS `neltool_group_shards` (
382 `group_shard_id` int(11) NOT NULL AUTO_INCREMENT,
383 `group_shard_group_id` int(11) NOT NULL DEFAULT '0',
384 `group_shard_shard_id` int(11) NOT NULL DEFAULT '0',
385 `group_shard_domain_id` int(11) NOT NULL DEFAULT '0',
386 PRIMARY KEY (`group_shard_id`),
387 KEY `group_shard_group_id` (`group_shard_group_id`),
388 KEY `group_shard_domain_id` (`group_shard_domain_id`)
389 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
392 -- Dumping data for table `neltool_group_shards`
395 -- --------------------------------------------------------
398 -- Table structure for table `neltool_locks`
401 CREATE TABLE IF NOT EXISTS `neltool_locks` (
402 `lock_id` int(11) NOT NULL AUTO_INCREMENT,
403 `lock_domain_id` int(11) DEFAULT NULL,
404 `lock_shard_id` int(11) DEFAULT NULL,
405 `lock_user_name` varchar(32) NOT NULL DEFAULT '',
406 `lock_date` int(11) NOT NULL DEFAULT '0',
407 `lock_update` int(11) NOT NULL DEFAULT '0',
408 PRIMARY KEY (`lock_id`),
409 UNIQUE KEY `lock_shard_id` (`lock_shard_id`),
410 UNIQUE KEY `lock_domain_id` (`lock_domain_id`)
411 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
413 -- --------------------------------------------------------
416 -- Table structure for table `neltool_logs`
419 CREATE TABLE IF NOT EXISTS `neltool_logs` (
420 `logs_id` int(11) NOT NULL AUTO_INCREMENT,
421 `logs_user_name` varchar(32) NOT NULL DEFAULT '0',
422 `logs_date` int(11) NOT NULL DEFAULT '0',
423 `logs_data` varchar(255) NOT NULL DEFAULT '',
424 PRIMARY KEY (`logs_id`)
425 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
427 -- --------------------------------------------------------
430 -- Table structure for table `neltool_notes`
433 CREATE TABLE IF NOT EXISTS `neltool_notes` (
434 `note_id` int(11) NOT NULL AUTO_INCREMENT,
435 `note_user_id` int(11) NOT NULL DEFAULT '0',
436 `note_title` varchar(128) NOT NULL DEFAULT '',
437 `note_data` text NOT NULL,
438 `note_date` int(11) NOT NULL DEFAULT '0',
439 `note_active` int(11) NOT NULL DEFAULT '0',
440 `note_global` int(11) NOT NULL DEFAULT '0',
441 PRIMARY KEY (`note_id`)
442 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=11 ;
445 -- Dumping data for table `neltool_notes`
448 INSERT INTO `neltool_notes` (`note_id`, `note_user_id`, `note_title`, `note_data`, `note_date`, `note_active`, `note_global`) VALUES
449 (2, 27, 'Welcome', 'Welcome to the shard administration website!\r\n\r\nThis website is used to monitor and restart shards.\r\n\r\nIt also gives some player characters information.', 1272378065, 1, 1),
450 (3, 27, 'Shard Start', '# At the same time : NS and TS\r\n[1 min] : all MS, you can boot them all at the same time\r\n[1 min] : IOS\r\n[3 mins] : GMPS\r\n[3 mins] : EGS\r\n[5 mins] : AI Fyros\r\n[1 min 30] : AI Zorai\r\n[1 min 30] : AI Matis\r\n[1 min 30] : AI TNP\r\n[1 min 30] : AI NPE\r\n[1 min 30] : AI Tryker\r\n[1 min 30] : All FS and SBS at the same time\r\n[30 secs] : WS (atm the WS starts in OPEN mode by default, so be fast before CSR checkage, fix for that inc soon)\r\n\r\nNOTE: you can check the uptime for those timers in the right column of the admin tool: UpTime\r\n', 1158751126, 1, 0),
451 (5, 27, 'shutting supplementary', 'the writing wont change when lock the ws\r\n\r\nuntick previous boxes as you shut down\r\n\r\nwait 5 between the ws and the egs ie egs is 5 past rest is 10 past', 1153395380, 1, 0),
452 (4, 27, 'Shard Stop', '1. Broadcast to warn players\r\n\r\n2. 10 mins before shutdown, lock the WS\r\n\r\n3. At the right time shut down WS\r\n\r\n4. Shut down EGS\r\nOnly the EGS. Wait 5 reals minutes. Goal is to give enough time to egs, in order to save all the info he has to, and letting him sending those message to all services who need it.\r\n\r\n5. Shut down the rest, et voilà, you're done.', 1153314198, 1, 0),
453 (6, 27, 'Start (EGS to high?)', 'If [EGS] is to high on startup:\r\n\r\n[shut down egs]\r\n[5 mins]\r\n\r\n[IOS] & [GPMS] (shut down at same time)\r\n\r\nAfter the services are down follow "UP" process with timers again.\r\n\r\nIOS\r\n[3 mins]\r\nGPMS\r\n[3 mins]\r\nEGS\r\n[5 mins]\r\nbla bla...', 1153395097, 1, 0),
454 (7, 27, 'opening if the egs is too high on reboot', '<kadael> here my note on admin about egs to high on startup\r\n<kadael> ---\r\n<kadael> If [EGS] is to high on startup:\r\n<kadael> [shut down egs]\r\n<kadael> [5 mins]\r\n<kadael> [IOS] & [GPMS] (at same time shut down )\r\n<kadael> after the services are down follow "UP" process with timers again.\r\n<kadael> IOS\r\n<kadael> [3 mins]\r\n<kadael> GPMS\r\n<kadael> [3 mins]\r\n<kadael> EGS\r\n<kadael> [5 mins]\r\n<kadael> bla bla...\r\n<kadael> ---', 1153395362, 1, 0),
455 (10, 27, 'Ring points', 'Commande pour donner tout les points ring à tout le monde :\r\n\r\nDans le DSS d'un Shard Ring entrer : DefaultCharRingAccess f7:j7:l6:d7:p13:g9:a9', 1155722296, 1, 0),
456 (9, 27, 'Start (EGS to high?)', 'If [EGS] is to high on startup: \r\n \r\n [shut down egs] \r\n [5 mins] \r\n \r\n [IOS] & [GPMS] (shut down at same time) \r\n \r\n After the services are down follow "UP" process with timers again. \r\n \r\n IOS \r\n [3 mins] \r\n GPMS \r\n [3 mins] \r\n EGS \r\n [5 mins] \r\n bla bla...', 1153929658, 1, 0);
458 -- --------------------------------------------------------
461 -- Table structure for table `neltool_restart_groups`
464 CREATE TABLE IF NOT EXISTS `neltool_restart_groups` (
465 `restart_group_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
466 `restart_group_name` varchar(50) DEFAULT NULL,
467 `restart_group_list` varchar(50) DEFAULT NULL,
468 `restart_group_order` varchar(50) DEFAULT NULL,
469 PRIMARY KEY (`restart_group_id`),
470 UNIQUE KEY `restart_group_id` (`restart_group_id`),
471 KEY `restart_group_id_2` (`restart_group_id`)
472 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=6 ;
475 -- Dumping data for table `neltool_restart_groups`
478 INSERT INTO `neltool_restart_groups` (`restart_group_id`, `restart_group_name`, `restart_group_list`, `restart_group_order`) VALUES
479 (1, 'Low Level', 'rns,ts,ms', '1'),
480 (3, 'Mid Level', 'ios,gpms,egs', '2'),
481 (4, 'High Level', 'ais', '3'),
482 (5, 'Front Level', 'fes,sbs,dss,rws', '4');
484 -- --------------------------------------------------------
487 -- Table structure for table `neltool_restart_messages`
490 CREATE TABLE IF NOT EXISTS `neltool_restart_messages` (
491 `restart_message_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
492 `restart_message_name` varchar(20) DEFAULT NULL,
493 `restart_message_value` varchar(128) DEFAULT NULL,
494 `restart_message_lang` varchar(5) DEFAULT NULL,
495 PRIMARY KEY (`restart_message_id`),
496 UNIQUE KEY `restart_message_id` (`restart_message_id`),
497 KEY `restart_message_id_2` (`restart_message_id`)
498 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=11 ;
501 -- Dumping data for table `neltool_restart_messages`
504 INSERT INTO `neltool_restart_messages` (`restart_message_id`, `restart_message_name`, `restart_message_value`, `restart_message_lang`) VALUES
505 (5, 'reboot', 'The shard is about to go down. Please find a safe location and log out.', 'en'),
506 (4, 'reboot', 'Le serveur va redemarrer dans $minutes$ minutes. Merci de vous deconnecter en lieu sur.', 'fr'),
507 (6, 'reboot', 'Der Server wird heruntergefahren. Findet eine sichere Stelle und logt aus.', 'de'),
508 (10, 'reboot', 'Arret du serveur dans $minutes+1$ minutes', 'fr');
510 -- --------------------------------------------------------
513 -- Table structure for table `neltool_restart_sequences`
516 CREATE TABLE IF NOT EXISTS `neltool_restart_sequences` (
517 `restart_sequence_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
518 `restart_sequence_domain_id` int(10) unsigned NOT NULL DEFAULT '0',
519 `restart_sequence_shard_id` int(10) unsigned NOT NULL DEFAULT '0',
520 `restart_sequence_user_name` varchar(50) DEFAULT NULL,
521 `restart_sequence_step` int(10) unsigned NOT NULL DEFAULT '0',
522 `restart_sequence_date_start` int(11) DEFAULT NULL,
523 `restart_sequence_date_end` int(11) DEFAULT NULL,
524 `restart_sequence_timer` int(11) unsigned DEFAULT '0',
525 PRIMARY KEY (`restart_sequence_id`)
526 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
528 -- --------------------------------------------------------
531 -- Table structure for table `neltool_shards`
534 CREATE TABLE IF NOT EXISTS `neltool_shards` (
535 `shard_id` int(11) NOT NULL AUTO_INCREMENT,
536 `shard_name` varchar(128) NOT NULL DEFAULT '',
537 `shard_as_id` varchar(255) NOT NULL DEFAULT '0',
538 `shard_domain_id` int(11) NOT NULL DEFAULT '0',
539 `shard_lang` char(2) NOT NULL DEFAULT 'en',
540 `shard_restart` int(10) unsigned NOT NULL DEFAULT '0',
541 PRIMARY KEY (`shard_id`),
542 KEY `shard_domain_id` (`shard_domain_id`)
543 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
545 -- --------------------------------------------------------
548 -- Table structure for table `neltool_stats_hd_datas`
551 CREATE TABLE IF NOT EXISTS `neltool_stats_hd_datas` (
552 `hd_id` int(11) NOT NULL AUTO_INCREMENT,
553 `hd_domain_id` int(11) NOT NULL DEFAULT '0',
554 `hd_server` varchar(32) NOT NULL DEFAULT '',
555 `hd_device` varchar(64) NOT NULL DEFAULT '',
556 `hd_size` varchar(16) NOT NULL DEFAULT '',
557 `hd_used` varchar(16) NOT NULL DEFAULT '',
558 `hd_free` varchar(16) NOT NULL DEFAULT '',
559 `hd_percent` int(11) NOT NULL DEFAULT '0',
560 `hd_mount` varchar(128) NOT NULL DEFAULT '',
561 PRIMARY KEY (`hd_id`),
562 KEY `hd_domain_id` (`hd_domain_id`),
563 KEY `hd_server` (`hd_server`)
564 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
566 -- --------------------------------------------------------
569 -- Table structure for table `neltool_stats_hd_times`
572 CREATE TABLE IF NOT EXISTS `neltool_stats_hd_times` (
573 `hd_domain_id` int(11) NOT NULL DEFAULT '0',
574 `hd_last_time` int(11) NOT NULL DEFAULT '0',
575 PRIMARY KEY (`hd_domain_id`)
576 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
578 -- --------------------------------------------------------
581 -- Table structure for table `neltool_users`
584 CREATE TABLE IF NOT EXISTS `neltool_users` (
585 `user_id` int(11) NOT NULL AUTO_INCREMENT,
586 `user_name` varchar(32) NOT NULL DEFAULT '',
587 `user_password` varchar(64) NOT NULL DEFAULT '',
588 `user_group_id` int(11) NOT NULL DEFAULT '0',
589 `user_created` int(11) NOT NULL DEFAULT '0',
590 `user_active` int(11) NOT NULL DEFAULT '0',
591 `user_logged_last` int(11) NOT NULL DEFAULT '0',
592 `user_logged_count` int(11) NOT NULL DEFAULT '0',
593 `user_menu_style` int(11) NOT NULL DEFAULT '0',
594 PRIMARY KEY (`user_id`),
595 UNIQUE KEY `user_login` (`user_name`),
596 KEY `user_group_id` (`user_group_id`),
597 KEY `user_active` (`user_active`)
598 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
600 -- --------------------------------------------------------
603 -- Table structure for table `neltool_user_applications`
606 CREATE TABLE IF NOT EXISTS `neltool_user_applications` (
607 `user_application_id` int(11) NOT NULL AUTO_INCREMENT,
608 `user_application_user_id` int(11) NOT NULL DEFAULT '0',
609 `user_application_application_id` int(11) NOT NULL DEFAULT '0',
610 PRIMARY KEY (`user_application_id`),
611 KEY `user_application_user_id` (`user_application_user_id`),
612 KEY `user_application_application_id` (`user_application_application_id`)
613 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
615 -- --------------------------------------------------------
618 -- Table structure for table `neltool_user_domains`
621 CREATE TABLE IF NOT EXISTS `neltool_user_domains` (
622 `user_domain_id` int(11) NOT NULL AUTO_INCREMENT,
623 `user_domain_user_id` int(11) NOT NULL DEFAULT '0',
624 `user_domain_domain_id` int(11) NOT NULL DEFAULT '0',
625 PRIMARY KEY (`user_domain_id`),
626 KEY `user_domain_user_id` (`user_domain_user_id`)
627 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
629 -- --------------------------------------------------------
632 -- Table structure for table `neltool_user_shards`
635 CREATE TABLE IF NOT EXISTS `neltool_user_shards` (
636 `user_shard_id` int(11) NOT NULL AUTO_INCREMENT,
637 `user_shard_user_id` int(11) NOT NULL DEFAULT '0',
638 `user_shard_shard_id` int(11) NOT NULL DEFAULT '0',
639 `user_shard_domain_id` int(11) NOT NULL DEFAULT '0',
640 PRIMARY KEY (`user_shard_id`),
641 KEY `user_shard_user_id` (`user_shard_user_id`),
642 KEY `user_shard_domain_id` (`user_shard_domain_id`)
643 ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
645 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
646 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
647 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;