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>

dialup_admin/sql/mysql/badusers.sql

index c8b5032..286416d 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)
 );