misc/migration/3.9.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 06 May 2014 15:59:39 +0200
changeset 9737 c6f47e635845
parent 6105 a648c832da1f
permissions -rw-r--r--
[wsgi] look at wsgi.url_scheme to decide if we're on https The server/gateway is supposed to fill it in for us.

if not rql('CWConstraintType X WHERE X name "RQLUniqueConstraint"',
           ask_confirm=False):
    rql('INSERT CWConstraintType X: X name "RQLUniqueConstraint"',
        ask_confirm=False)