Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r308 - trunk/current/db/mysql/schema.py

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

svn commit: r308 - trunk/current/db/mysql/schema.py

Reply

Author jjneely
Full name Jack Neely
Date 2006-11-01 13:23:18 PST
Message Author: jjneely
Date: 2006-11-01 13:23:17-0800
New Revision: 308

Modified:
   trunk/current/db/mys​ql/schema.py

Log:
Correct a MySQL syntax error


Modified: trunk/current/db/mys​ql/schema.py
Url: http://current.tigri​s.org/source/browse/​current/trunk/curren​t/db/mysql/schema.py​?view=diff&rev=3​08&p1=trunk/curr​ent/db/mysql/schema.​py&p2=trunk/curr​ent/db/mysql/schema.​py&r1=307&r2​=308
====================​====================​====================​==================
--- trunk/current/db/mys​ql/schema.py (original)
+++ trunk/current/db/mys​ql/schema.py 2006-11-01 13:23:17-0800
@@ -202,7 +202,7 @@
 
 drop table if exists OU;
 create table OU (
- ou_id INTEGER PRIMARY KEY auto_increment = 0,
+ ou_id INTEGER PRIMARY KEY,
     label varchar(64) not null,
     description varchar(256),
     lft int not null,
@@ -211,7 +211,8 @@
     index(label),
     index(lft),
     index(rgt)
-) Type=InnoDB;
+) Type=InnoDB,
+ auto_increment=0;
 insert into OU (ou_id, label, description, lft, rgt)
     values (0, "Root", "Root OU", 0, 1);
 """

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r308 - trunk/current/db/mysql/schema.py jjneely Jack Neely 2006-11-01 13:23:18 PST
Messages per page: