misc/migration/3.9.0_Any.py
author Rémi Cardona <remi.cardona@logilab.fr>
Tue, 13 Oct 2015 17:16:26 +0200
changeset 10718 97d398e17f8c
parent 5768 1e73a466aa69
permissions -rw-r--r--
[py3k] MethodType no longer takes a class argument

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