skeleton/migration/precreate.py.tmpl
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Fri, 26 Aug 2011 17:14:37 +0200
brancholdstable
changeset 7753 681ef2a664dd
parent 5426 0d4853a6e5ee
child 8207 c04676b16c59
permissions -rw-r--r--
work around cursor.rowcount not returning anything useful before 1st fetch with mssql (closes #1910869) use select count(*) from table to get the number of rows

# 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.
"""