misc/migration/3.9.0_Any.py
author Rémi Cardona <remi.cardona@logilab.fr>
Mon, 01 Sep 2014 10:22:46 +0200
changeset 9993 1ced03652d5e
parent 5768 1e73a466aa69
permissions -rw-r--r--
[devtools] "Keep" some temporary files/dirs around to help with debugging The whole QUnitTestCase runs with an @with_tempdir so it's redundant anyway.

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