]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Fix MySQL errors, as posted to the list by Marcos Roberto
authornbk <nbk>
Sun, 20 Jan 2008 15:54:56 +0000 (15:54 +0000)
committernbk <nbk>
Sun, 20 Jan 2008 15:54:56 +0000 (15:54 +0000)
Greiner <mrgreiner@gmail.com>

sql/mysql/badusers.sql

index c8b5032d1ec0d5590f9cba7cf1d7c82c42c7af69..286416d20f8da0dbb15b226361aa1eadc4543b45 100644 (file)
@@ -2,12 +2,12 @@
 # Table structure for table 'badusers'
 #
 CREATE TABLE badusers (
-  id int(10) DEFAULT '0' NOT NULL auto_increment,
+  id int(10) NOT NULL auto_increment,
   UserName varchar(30),
   IncidentDate datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
   Reason varchar(200),
   Admin varchar(30) DEFAULT '-',
   PRIMARY KEY (id),
   KEY UserName (UserName),
-  KEY Date (Date)
+  KEY IncidentDate (IncidentDate)
 );