migration/1.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 13 Apr 2015 11:12:49 +0200
changeset 1825 b859e64fc3ee
parent 744 232b5fedc378
permissions -rw-r--r--
Move setting of TestExecution.{options,execution_of} to a hook (closes #5242517) Apart from the 'archive' setting, they're inherited from the ProjectEnvironment and/or TestConfig. Make 'archive' a separate attribute instead.

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')