Don't set DEFAULT '0' for the nas table
authorkkalev <kkalev>
Fri, 25 Feb 2005 23:51:11 +0000 (23:51 +0000)
committerkkalev <kkalev>
Fri, 25 Feb 2005 23:51:11 +0000 (23:51 +0000)
src/modules/rlm_sql/drivers/rlm_sql_mysql/db_mysql.sql

index 0f7421b..7f4dd05 100644 (file)
@@ -130,7 +130,7 @@ CREATE TABLE radpostauth (
 
 ######################################################################
 #
-#  The next two tables are commented out because they are not
+#  The next table is commented out because it is not
 #  currently used in the server.
 #
 
@@ -151,7 +151,7 @@ CREATE TABLE radpostauth (
 # Table structure for table 'nas'
 #
 CREATE TABLE nas (
-  id int(10) DEFAULT '0' NOT NULL auto_increment,
+  id int(10) NOT NULL auto_increment,
   nasname varchar(128) NOT NULL,
   shortname varchar(32),
   type varchar(30) DEFAULT 'other',
@@ -162,4 +162,3 @@ CREATE TABLE nas (
   PRIMARY KEY (id),
   KEY nasname (nasname)
 );
-