misc/migration/3.9.0_Any.py
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Fri, 08 Feb 2013 18:36:00 +0100
branchstable
changeset 8723 d2472948da9c
parent 5768 1e73a466aa69
permissions -rw-r--r--
maintain python2.5 compatibility

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