commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r7249 - trunk/gnue-common/src/schema/scripter


From: johannes
Subject: [gnue] r7249 - trunk/gnue-common/src/schema/scripter
Date: Tue, 22 Mar 2005 08:23:18 -0600 (CST)

Author: johannes
Date: 2005-03-22 08:23:17 -0600 (Tue, 22 Mar 2005)
New Revision: 7249

Modified:
   trunk/gnue-common/src/schema/scripter/Scripter.py
Log:
Give keyfields as primary key (this makes it work again)


Modified: trunk/gnue-common/src/schema/scripter/Scripter.py
===================================================================
--- trunk/gnue-common/src/schema/scripter/Scripter.py   2005-03-21 21:50:04 UTC 
(rev 7248)
+++ trunk/gnue-common/src/schema/scripter/Scripter.py   2005-03-22 14:23:17 UTC 
(rev 7249)
@@ -777,7 +777,8 @@
     source = GDataSource.DataSourceWrapper (connections = self.connections,
         attributes = {'name'    : "dts_%s" % table ['name'],
                       'database': self.OPTIONS ['connection'],
-                      'table'   : table ['name']},
+                      'table'   : table ['name'],
+                      'primarykey': ",".join (keyFields)},
         fields      = fieldList,
         unicodeMode = True)
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]