From: nbk Date: Sun, 20 Jan 2008 15:54:56 +0000 (+0000) Subject: Fix MySQL errors, as posted to the list by Marcos Roberto X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=dd325bda7ef8199c75f7faaa638f8e8abec9f4f5;p=freeradius-dialup-admin.git Fix MySQL errors, as posted to the list by Marcos Roberto Greiner --- diff --git a/sql/mysql/badusers.sql b/sql/mysql/badusers.sql index c8b5032..286416d 100644 --- a/sql/mysql/badusers.sql +++ b/sql/mysql/badusers.sql @@ -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) );