skeleton/migration/precreate.py.tmpl
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 03 Nov 2015 18:10:58 +0100
changeset 10813 ab626726a70a
parent 8207 c04676b16c59
permissions -rw-r--r--
[syncschema] don't arbitrarily remove constraints from the in-memory schema For some constraint types, it may make sense to have several constraints of that type simultaneously. In such a case, removing one of them from the in-memory schema is wrong. Closes #7446353

# -*- coding: utf-8 -*-
# copyright %(year)s %(author)s, all rights reserved.
# contact %(author-web-site)s -- mailto:%(author-email)s
#
%(long-license)s
"""%(distname)s precreate script, executed at instance creation time or when
the cube is added to an existing instance, before the schema is serialized.

This is typically to create groups referenced by the cube'schema.
"""