Subversion Repositories ALCASAR

Rev

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

Rev 2063 Rev 2371
Line 36... Line 36...
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_bin;
41
) ENGINE=InnoDB 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 82... Line 82...
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_bin;
87
) ENGINE=InnoDB 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 100... Line 100...
100
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
100
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
101
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '==',
101
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '==',
102
  `value` varchar(253) COLLATE utf8_bin 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_bin;
105
) ENGINE=InnoDB 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 118... Line 118...
118
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
118
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
119
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '==',
119
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '==',
120
  `value` varchar(253) COLLATE utf8_bin 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_bin;
123
) ENGINE=InnoDB 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 136... Line 136...
136
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
136
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
137
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '=',
137
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '=',
138
  `value` varchar(253) COLLATE utf8_bin 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_bin;
141
) ENGINE=InnoDB 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 152... Line 152...
152
  `id` int(11) NOT NULL AUTO_INCREMENT,
152
  `id` int(11) NOT NULL AUTO_INCREMENT,
153
  `username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
153
  `username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
154
  `reply` varchar(32) COLLATE utf8_bin 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_bin;
157
) ENGINE=InnoDB 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 170... Line 170...
170
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
170
  `attribute` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
171
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '=',
171
  `op` char(2) COLLATE utf8_bin NOT NULL DEFAULT '=',
172
  `value` varchar(253) COLLATE utf8_bin 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_bin;
175
) ENGINE=InnoDB 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
--
Line 185... Line 185...
185
CREATE TABLE `radusergroup` (
185
CREATE TABLE `radusergroup` (
186
  `username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
186
  `username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
187
  `groupname` varchar(64) COLLATE utf8_bin 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_bin;
190
) ENGINE=InnoDB 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 212... Line 212...
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_bin;
217
) ENGINE=InnoDB 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 234... Line 234...
234
  `HomePhone` varchar(200) COLLATE utf8_bin DEFAULT NULL,
234
  `HomePhone` varchar(200) COLLATE utf8_bin DEFAULT NULL,
235
  `Mobile` varchar(200) COLLATE utf8_bin 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_bin;
239
) ENGINE=InnoDB 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 */;