[Formed-commits] r323 - in trunk: . formed/formed/plugins/export

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Mar 31 17:16:31 CEST 2009


Author: teichmann
Date: 2009-03-31 17:16:30 +0200 (Tue, 31 Mar 2009)
New Revision: 323

Modified:
   trunk/ChangeLog
   trunk/formed/formed/plugins/export/sql.py
Log:
SQL schema: Set uuid_id to NULL in case_anonymize().


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-03-31 12:44:02 UTC (rev 322)
+++ trunk/ChangeLog	2009-03-31 15:16:30 UTC (rev 323)
@@ -1,5 +1,10 @@
 2009-03-31	Sascha L. Teichmann <teichmann at intevation.de>
 
+	* formed/formed/plugins/export/sql.py: Set uuid_id to NULL in
+	  case_anonymize().
+
+2009-03-31	Sascha L. Teichmann <teichmann at intevation.de>
+
 	* formed/formed/model/exprtree.py: Add some code to pretty print
 	  the trees infix.
 

Modified: trunk/formed/formed/plugins/export/sql.py
===================================================================
--- trunk/formed/formed/plugins/export/sql.py	2009-03-31 12:44:02 UTC (rev 322)
+++ trunk/formed/formed/plugins/export/sql.py	2009-03-31 15:16:30 UTC (rev 323)
@@ -109,7 +109,7 @@
     def __init__(self, raw_table, table):
         self.name      = table
 
-        anonym = []
+        anonym = [ "uuid_id = NULL" ]
 
         for c in raw_table.columns:
             #if not c.accessible: continue



More information about the Formed-commits mailing list