misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 09 Mar 2016 17:01:42 +0100
changeset 11178 b3d3e23be27b
parent 5768 1e73a466aa69
permissions -rw-r--r--
[migration/3.10] fix AttributeError 'Connection' object has no attribute 'HOOKS_DENY_ALL'

if repo.system_source.dbdriver == 'postgres':
    sql('ALTER TABLE appears ADD COLUMN weight float')
    sql('UPDATE appears SET weight=1.0 ')