server/migractions.py
branchstable
changeset 9241 cbee712dd310
parent 9195 e9fb9377229e
child 9255 46f41c3e1443
child 9565 fa00fc251d57
--- a/server/migractions.py	Thu Sep 26 11:53:13 2013 +0200
+++ b/server/migractions.py	Tue Sep 17 17:44:15 2013 +0200
@@ -582,7 +582,7 @@
                         print 'dont add %s unique constraint on %s, missing %s' % (
                             ','.join(ut), eschema, name)
                         return False
-                    if not (rschema.final or rschema.final.inlined):
+                    if not (rschema.final or rschema.inlined):
                         (eschema, name)
                         print 'dont add %s unique constraint on %s, %s is neither final nor inlined' % (
                             ','.join(ut), eschema, name)