Subversion Repositories ALCASAR

Rev

Rev 1800 | Rev 2371 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1800 Rev 2063
Line 22... Line 22...
22
DROP TABLE IF EXISTS `mtotacct`;
22
DROP TABLE IF EXISTS `mtotacct`;
23
/*!40101 SET @saved_cs_client     = @@character_set_client */;
23
/*!40101 SET @saved_cs_client     = @@character_set_client */;
24
/*!40101 SET character_set_client = utf8 */;
24
/*!40101 SET character_set_client = utf8 */;
25
CREATE TABLE `mtotacct` (
25
CREATE TABLE `mtotacct` (
26
  `MTotAcctId` bigint(21) NOT NULL AUTO_INCREMENT,
26
  `MTotAcctId` bigint(21) NOT NULL AUTO_INCREMENT,
27
  `UserName` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
27
  `UserName` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
28
  `AcctDate` date NOT NULL DEFAULT '0000-00-00',
28
  `AcctDate` date NOT NULL DEFAULT '0000-00-00',
29
  `ConnNum` bigint(12) DEFAULT NULL,
29
  `ConnNum` bigint(12) DEFAULT NULL,
30
  `ConnTotDuration` bigint(12) DEFAULT NULL,
30
  `ConnTotDuration` bigint(12) DEFAULT NULL,
31
  `ConnMaxDuration` bigint(12) DEFAULT NULL,
31
  `ConnMaxDuration` bigint(12) DEFAULT NULL,
32
  `ConnMinDuration` bigint(12) DEFAULT NULL,
32
  `ConnMinDuration` bigint(12) DEFAULT NULL,
33
  `InputOctets` bigint(12) DEFAULT NULL,
33
  `InputOctets` bigint(12) DEFAULT NULL,
34
  `OutputOctets` bigint(12) DEFAULT NULL,
34
  `OutputOctets` bigint(12) DEFAULT NULL,
35
  `NASIPAddress` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
35
  `NASIPAddress` varchar(15) COLLATE utf8_bin DEFAULT NULL,
36
  PRIMARY KEY (`MTotAcctId`),
36
  PRIMARY KEY (`MTotAcctId`),
37
  KEY `UserName` (`UserName`),
37
  KEY `UserName` (`UserName`),
38
  KEY `AcctDate` (`AcctDate`),
38
  KEY `AcctDate` (`AcctDate`),
39
  KEY `UserOnDate` (`UserName`,`AcctDate`),
39
  KEY `UserOnDate` (`UserName`,`AcctDate`),
40
  KEY `NASIPAddress` (`NASIPAddress`)
40
  KEY `NASIPAddress` (`NASIPAddress`)
41
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
41
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
42
/*!40101 SET character_set_client = @saved_cs_client */;
42
/*!40101 SET character_set_client = @saved_cs_client */;
43
 
43
 
44
--
44
--
45
-- Table structure for table `radacct`
45
-- Table structure for table `radacct`
46
--
46
--
Line 48... Line 48...
48
DROP TABLE IF EXISTS `radacct`;
48
DROP TABLE IF EXISTS `radacct`;
49
/*!40101 SET @saved_cs_client     = @@character_set_client */;
49
/*!40101 SET @saved_cs_client     = @@character_set_client */;
50
/*!40101 SET character_set_client = utf8 */;
50
/*!40101 SET character_set_client = utf8 */;
51
CREATE TABLE `radacct` (
51
CREATE TABLE `radacct` (
52
  `radacctid` bigint(21) NOT NULL AUTO_INCREMENT,
52
  `radacctid` bigint(21) NOT NULL AUTO_INCREMENT,
53
  `acctsessionid` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
53
  `acctsessionid` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
54
  `acctuniqueid` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
54
  `acctuniqueid` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
55
  `username` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
55
  `username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
56
  `groupname` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
56
  `groupname` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
57
  `realm` varchar(64) COLLATE utf8_unicode_ci DEFAULT '',
57
  `realm` varchar(64) COLLATE utf8_bin DEFAULT '',
58
  `nasipaddress` varchar(15) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
58
  `nasipaddress` varchar(15) COLLATE utf8_bin NOT NULL DEFAULT '',
59
  `nasportid` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
59
  `nasportid` varchar(15) COLLATE utf8_bin DEFAULT NULL,
60
  `nasporttype` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
60
  `nasporttype` varchar(32) COLLATE utf8_bin DEFAULT NULL,
61
  `acctstarttime` datetime DEFAULT NULL,
61
  `acctstarttime` datetime DEFAULT NULL,
62
  `acctstoptime` datetime DEFAULT NULL,
62
  `acctstoptime` datetime DEFAULT NULL,
63
  `acctsessiontime` int(12) DEFAULT NULL,
63
  `acctsessiontime` int(12) DEFAULT NULL,
64
  `acctauthentic` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
64
  `acctauthentic` varchar(32) COLLATE utf8_bin DEFAULT NULL,
65
  `connectinfo_start` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
65
  `connectinfo_start` varchar(50) COLLATE utf8_bin DEFAULT NULL,
66
  `connectinfo_stop` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
66
  `connectinfo_stop` varchar(50) COLLATE utf8_bin DEFAULT NULL,
67
  `acctinputoctets` bigint(20) DEFAULT NULL,
67
  `acctinputoctets` bigint(20) DEFAULT NULL,
68
  `acctoutputoctets` bigint(20) DEFAULT NULL,
68
  `acctoutputoctets` bigint(20) DEFAULT NULL,
69
  `calledstationid` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
69
  `calledstationid` varchar(50) COLLATE utf8_bin NOT NULL DEFAULT '',
70
  `callingstationid` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
70
  `callingstationid` varchar(50) COLLATE utf8_bin NOT NULL DEFAULT '',
71
  `acctterminatecause` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
71
  `acctterminatecause` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
72
  `servicetype` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
72
  `servicetype` varchar(32) COLLATE utf8_bin DEFAULT NULL,
73
  `framedprotocol` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
73
  `framedprotocol` varchar(32) COLLATE utf8_bin DEFAULT NULL,
74
  `framedipaddress` varchar(15) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
74
  `framedipaddress` varchar(15) COLLATE utf8_bin NOT NULL DEFAULT '',
75
  `acctstartdelay` int(12) DEFAULT NULL,
75
  `acctstartdelay` int(12) DEFAULT NULL,
76
  `acctstopdelay` int(12) DEFAULT NULL,
76
  `acctstopdelay` int(12) DEFAULT NULL,
77
  `xascendsessionsvrkey` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
77
  `xascendsessionsvrkey` varchar(10) COLLATE utf8_bin DEFAULT NULL,
78
  PRIMARY KEY (`radacctid`),
78
  PRIMARY KEY (`radacctid`),
79
  KEY `username` (`username`),
79
  KEY `username` (`username`),
80
  KEY `framedipaddress` (`framedipaddress`),
80
  KEY `framedipaddress` (`framedipaddress`),
81
  KEY `acctsessionid` (`acctsessionid`),
81
  KEY `acctsessionid` (`acctsessionid`),
82
  KEY `acctsessiontime` (`acctsessiontime`),
82
  KEY `acctsessiontime` (`acctsessiontime`),
83
  KEY `acctuniqueid` (`acctuniqueid`),
83
  KEY `acctuniqueid` (`acctuniqueid`),
84
  KEY `acctstarttime` (`acctstarttime`),
84
  KEY `acctstarttime` (`acctstarttime`),
85
  KEY `acctstoptime` (`acctstoptime`),
85
  KEY `acctstoptime` (`acctstoptime`),
86
  KEY `nasipaddress` (`nasipaddress`)
86
  KEY `nasipaddress` (`nasipaddress`)
87
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
87
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
88
/*!40101 SET character_set_client = @saved_cs_client */;
88
/*!40101 SET character_set_client = @saved_cs_client */;
89
 
89
 
90
--
90
--
91
-- Table structure for table `radcheck`
91
-- Table structure for table `radcheck`
92
--
92
--
Line 94... Line 94...
94
DROP TABLE IF EXISTS `radcheck`;
94
DROP TABLE IF EXISTS `radcheck`;
95
/*!40101 SET @saved_cs_client     = @@character_set_client */;
95
/*!40101 SET @saved_cs_client     = @@character_set_client */;
96
/*!40101 SET character_set_client = utf8 */;
96
/*!40101 SET character_set_client = utf8 */;
97
CREATE TABLE `radcheck` (
97
CREATE TABLE `radcheck` (
98
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
98
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
99
  `username` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
99
  `username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
100
  `attribute` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
100
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
101
  `op` char(2) COLLATE utf8_unicode_ci NOT NULL DEFAULT '==',
101
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '==',
102
  `value` varchar(253) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
102
  `value` varchar(253) COLLATE utf8_bin NOT NULL DEFAULT '',
103
  PRIMARY KEY (`id`),
103
  PRIMARY KEY (`id`),
104
  KEY `username` (`username`(32))
104
  KEY `username` (`username`(32))
105
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
105
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
106
/*!40101 SET character_set_client = @saved_cs_client */;
106
/*!40101 SET character_set_client = @saved_cs_client */;
107
 
107
 
108
--
108
--
109
-- Table structure for table `radgroupcheck`
109
-- Table structure for table `radgroupcheck`
110
--
110
--
Line 112... Line 112...
112
DROP TABLE IF EXISTS `radgroupcheck`;
112
DROP TABLE IF EXISTS `radgroupcheck`;
113
/*!40101 SET @saved_cs_client     = @@character_set_client */;
113
/*!40101 SET @saved_cs_client     = @@character_set_client */;
114
/*!40101 SET character_set_client = utf8 */;
114
/*!40101 SET character_set_client = utf8 */;
115
CREATE TABLE `radgroupcheck` (
115
CREATE TABLE `radgroupcheck` (
116
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
116
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
117
  `groupname` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
117
  `groupname` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
118
  `attribute` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
118
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
119
  `op` char(2) COLLATE utf8_unicode_ci NOT NULL DEFAULT '==',
119
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '==',
120
  `value` varchar(253) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
120
  `value` varchar(253) COLLATE utf8_bin NOT NULL DEFAULT '',
121
  PRIMARY KEY (`id`),
121
  PRIMARY KEY (`id`),
122
  KEY `groupname` (`groupname`(32))
122
  KEY `groupname` (`groupname`(32))
123
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
123
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
124
/*!40101 SET character_set_client = @saved_cs_client */;
124
/*!40101 SET character_set_client = @saved_cs_client */;
125
 
125
 
126
--
126
--
127
-- Table structure for table `radgroupreply`
127
-- Table structure for table `radgroupreply`
128
--
128
--
Line 130... Line 130...
130
DROP TABLE IF EXISTS `radgroupreply`;
130
DROP TABLE IF EXISTS `radgroupreply`;
131
/*!40101 SET @saved_cs_client     = @@character_set_client */;
131
/*!40101 SET @saved_cs_client     = @@character_set_client */;
132
/*!40101 SET character_set_client = utf8 */;
132
/*!40101 SET character_set_client = utf8 */;
133
CREATE TABLE `radgroupreply` (
133
CREATE TABLE `radgroupreply` (
134
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
134
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
135
  `groupname` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
135
  `groupname` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
136
  `attribute` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
136
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
137
  `op` char(2) COLLATE utf8_unicode_ci NOT NULL DEFAULT '=',
137
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '=',
138
  `value` varchar(253) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
138
  `value` varchar(253) COLLATE utf8_bin NOT NULL DEFAULT '',
139
  PRIMARY KEY (`id`),
139
  PRIMARY KEY (`id`),
140
  KEY `groupname` (`groupname`(32))
140
  KEY `groupname` (`groupname`(32))
141
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
141
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
142
/*!40101 SET character_set_client = @saved_cs_client */;
142
/*!40101 SET character_set_client = @saved_cs_client */;
143
 
143
 
144
--
144
--
145
-- Table structure for table `radpostauth`
145
-- Table structure for table `radpostauth`
146
--
146
--
Line 148... Line 148...
148
DROP TABLE IF EXISTS `radpostauth`;
148
DROP TABLE IF EXISTS `radpostauth`;
149
/*!40101 SET @saved_cs_client     = @@character_set_client */;
149
/*!40101 SET @saved_cs_client     = @@character_set_client */;
150
/*!40101 SET character_set_client = utf8 */;
150
/*!40101 SET character_set_client = utf8 */;
151
CREATE TABLE `radpostauth` (
151
CREATE TABLE `radpostauth` (
152
  `id` int(11) NOT NULL AUTO_INCREMENT,
152
  `id` int(11) NOT NULL AUTO_INCREMENT,
153
  `username` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
153
  `username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
154
  `reply` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
154
  `reply` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
155
  `authdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
155
  `authdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
156
  PRIMARY KEY (`id`)
156
  PRIMARY KEY (`id`)
157
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
157
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
158
/*!40101 SET character_set_client = @saved_cs_client */;
158
/*!40101 SET character_set_client = @saved_cs_client */;
159
 
159
 
160
--
160
--
161
-- Table structure for table `radreply`
161
-- Table structure for table `radreply`
162
--
162
--
Line 164... Line 164...
164
DROP TABLE IF EXISTS `radreply`;
164
DROP TABLE IF EXISTS `radreply`;
165
/*!40101 SET @saved_cs_client     = @@character_set_client */;
165
/*!40101 SET @saved_cs_client     = @@character_set_client */;
166
/*!40101 SET character_set_client = utf8 */;
166
/*!40101 SET character_set_client = utf8 */;
167
CREATE TABLE `radreply` (
167
CREATE TABLE `radreply` (
168
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
168
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
169
  `username` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
169
  `username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
170
  `attribute` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
170
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
171
  `op` char(2) COLLATE utf8_unicode_ci NOT NULL DEFAULT '=',
171
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '=',
172
  `value` varchar(253) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
172
  `value` varchar(253) COLLATE utf8_bin NOT NULL DEFAULT '',
173
  PRIMARY KEY (`id`),
173
  PRIMARY KEY (`id`),
174
  KEY `username` (`username`(32))
174
  KEY `username` (`username`(32))
175
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
175
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
176
/*!40101 SET character_set_client = @saved_cs_client */;
176
/*!40101 SET character_set_client = @saved_cs_client */;
177
 
177
 
178
--
178
--
179
-- Table structure for table `radusergroup`
179
-- Table structure for table `radusergroup`
180
--
180
--
181
 
181
 
182
DROP TABLE IF EXISTS `radusergroup`;
182
DROP TABLE IF EXISTS `radusergroup`;
183
/*!40101 SET @saved_cs_client     = @@character_set_client */;
183
/*!40101 SET @saved_cs_client     = @@character_set_client */;
184
/*!40101 SET character_set_client = utf8 */;
184
/*!40101 SET character_set_client = utf8 */;
185
CREATE TABLE `radusergroup` (
185
CREATE TABLE `radusergroup` (
186
  `username` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
186
  `username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
187
  `groupname` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
187
  `groupname` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
188
  `priority` int(11) NOT NULL DEFAULT '1',
188
  `priority` int(11) NOT NULL DEFAULT '1',
189
  KEY `username` (`username`(32))
189
  KEY `username` (`username`(32))
190
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
190
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
191
/*!40101 SET character_set_client = @saved_cs_client */;
191
/*!40101 SET character_set_client = @saved_cs_client */;
192
 
192
 
193
--
193
--
194
-- Table structure for table `totacct`
194
-- Table structure for table `totacct`
195
--
195
--
Line 197... Line 197...
197
DROP TABLE IF EXISTS `totacct`;
197
DROP TABLE IF EXISTS `totacct`;
198
/*!40101 SET @saved_cs_client     = @@character_set_client */;
198
/*!40101 SET @saved_cs_client     = @@character_set_client */;
199
/*!40101 SET character_set_client = utf8 */;
199
/*!40101 SET character_set_client = utf8 */;
200
CREATE TABLE `totacct` (
200
CREATE TABLE `totacct` (
201
  `TotAcctId` bigint(21) NOT NULL AUTO_INCREMENT,
201
  `TotAcctId` bigint(21) NOT NULL AUTO_INCREMENT,
202
  `UserName` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
202
  `UserName` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
203
  `AcctDate` date NOT NULL DEFAULT '0000-00-00',
203
  `AcctDate` date NOT NULL DEFAULT '0000-00-00',
204
  `ConnNum` bigint(12) DEFAULT NULL,
204
  `ConnNum` bigint(12) DEFAULT NULL,
205
  `ConnTotDuration` bigint(12) DEFAULT NULL,
205
  `ConnTotDuration` bigint(12) DEFAULT NULL,
206
  `ConnMaxDuration` bigint(12) DEFAULT NULL,
206
  `ConnMaxDuration` bigint(12) DEFAULT NULL,
207
  `ConnMinDuration` bigint(12) DEFAULT NULL,
207
  `ConnMinDuration` bigint(12) DEFAULT NULL,
208
  `InputOctets` bigint(12) DEFAULT NULL,
208
  `InputOctets` bigint(12) DEFAULT NULL,
209
  `OutputOctets` bigint(12) DEFAULT NULL,
209
  `OutputOctets` bigint(12) DEFAULT NULL,
210
  `NASIPAddress` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
210
  `NASIPAddress` varchar(15) COLLATE utf8_bin DEFAULT NULL,
211
  PRIMARY KEY (`TotAcctId`),
211
  PRIMARY KEY (`TotAcctId`),
212
  KEY `UserName` (`UserName`),
212
  KEY `UserName` (`UserName`),
213
  KEY `AcctDate` (`AcctDate`),
213
  KEY `AcctDate` (`AcctDate`),
214
  KEY `UserOnDate` (`UserName`,`AcctDate`),
214
  KEY `UserOnDate` (`UserName`,`AcctDate`),
215
  KEY `NASIPAddress` (`NASIPAddress`),
215
  KEY `NASIPAddress` (`NASIPAddress`),
216
  KEY `NASIPAddressOnDate` (`AcctDate`,`NASIPAddress`)
216
  KEY `NASIPAddressOnDate` (`AcctDate`,`NASIPAddress`)
217
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
217
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
218
/*!40101 SET character_set_client = @saved_cs_client */;
218
/*!40101 SET character_set_client = @saved_cs_client */;
219
 
219
 
220
--
220
--
221
-- Table structure for table `userinfo`
221
-- Table structure for table `userinfo`
222
--
222
--
Line 224... Line 224...
224
DROP TABLE IF EXISTS `userinfo`;
224
DROP TABLE IF EXISTS `userinfo`;
225
/*!40101 SET @saved_cs_client     = @@character_set_client */;
225
/*!40101 SET @saved_cs_client     = @@character_set_client */;
226
/*!40101 SET character_set_client = utf8 */;
226
/*!40101 SET character_set_client = utf8 */;
227
CREATE TABLE `userinfo` (
227
CREATE TABLE `userinfo` (
228
  `id` int(10) NOT NULL AUTO_INCREMENT,
228
  `id` int(10) NOT NULL AUTO_INCREMENT,
229
  `UserName` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
229
  `UserName` varchar(64) COLLATE utf8_bin DEFAULT NULL,
230
  `Name` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
230
  `Name` varchar(200) COLLATE utf8_bin DEFAULT NULL,
231
  `Mail` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
231
  `Mail` varchar(200) COLLATE utf8_bin DEFAULT NULL,
232
  `Department` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
232
  `Department` varchar(200) COLLATE utf8_bin DEFAULT NULL,
233
  `WorkPhone` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
233
  `WorkPhone` varchar(200) COLLATE utf8_bin DEFAULT NULL,
234
  `HomePhone` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
234
  `HomePhone` varchar(200) COLLATE utf8_bin DEFAULT NULL,
235
  `Mobile` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
235
  `Mobile` varchar(200) COLLATE utf8_bin DEFAULT NULL,
236
  PRIMARY KEY (`id`),
236
  PRIMARY KEY (`id`),
237
  KEY `UserName` (`UserName`),
237
  KEY `UserName` (`UserName`),
238
  KEY `Department` (`Department`)
238
  KEY `Department` (`Department`)
239
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
239
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
240
/*!40101 SET character_set_client = @saved_cs_client */;
240
/*!40101 SET character_set_client = @saved_cs_client */;
241
 
241
 
242
 
242
 
243
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
243
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
244
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
244
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;