misc/migration/3.9.0_Any.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 11 Dec 2015 14:07:51 +0100
changeset 10976 b150016e476c
parent 5768 1e73a466aa69
permissions -rw-r--r--
[tox] Ensure pytest gets run with virtualenv's python

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