misc/migration/3.9.5_Any.py
author David Douard <david.douard@logilab.fr>
Fri, 19 Feb 2016 12:11:31 +0100
changeset 11338 dde85a5d47fc
parent 6105 a648c832da1f
permissions -rw-r--r--
[book] improve a bit the documentation of the database setup also remove the MySQL section.

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