misc/migration/3.9.5_Any.py
branchstable
changeset 6105 a648c832da1f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/migration/3.9.5_Any.py	Thu Aug 12 15:58:42 2010 +0200
@@ -0,0 +1,4 @@
+if not rql('CWConstraintType X WHERE X name "RQLUniqueConstraint"',
+           ask_confirm=False):
+    rql('INSERT CWConstraintType X: X name "RQLUniqueConstraint"',
+        ask_confirm=False)