misc/migration/3.9.0_Any.py
author David Douard <david.douard@logilab.fr>
Fri, 30 Nov 2012 21:18:05 +0100
branchstable
changeset 8606 0163bd9f4880
parent 5768 1e73a466aa69
permissions -rw-r--r--
prepare 3.15.6

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