migration/1.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 14 Jun 2011 17:21:46 +0200
branchstable
changeset 744 232b5fedc378
parent 475 095d6d89b0cc
permissions -rw-r--r--
remove to avoid crash when migrating from version < 1.9

sync_schema_props_perms('TestExecution', syncperms=False)
sync_schema_props_perms('CheckResultInfo', syncperms=False)
sync_schema_props_perms('use_environment', syncprops=False)
sync_schema_props_perms('local_repository', syncprops=False)
if 'file' in config.cubes():
    add_relation_definition('TestExecution', 'log_file', 'File')
    sync_schema_props_perms('File', syncprops=False)
else:
    add_cube('file')