# HG changeset patch # User Sylvain Thénault # Date 1281621522 -7200 # Node ID a648c832da1fac4aa6a5eadb1ebb333a74bac541 # Parent a57db3faa913cb675302f1e1c35f9bdd39a269ad RQLUniqueConstraint not in CWConstraintType for some old instances diff -r a57db3faa913 -r a648c832da1f misc/migration/3.9.5_Any.py --- /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) diff -r a57db3faa913 -r a648c832da1f misc/migration/bootstrapmigration_repository.py --- a/misc/migration/bootstrapmigration_repository.py Thu Aug 12 14:41:44 2010 +0200 +++ b/misc/migration/bootstrapmigration_repository.py Thu Aug 12 15:58:42 2010 +0200 @@ -18,7 +18,6 @@ """allways executed before all others in server migration it should only include low level schema changes - """ from __future__ import with_statement