misc/migration/3.9.0_Any.py
author Rémi Cardona <remi.cardona@logilab.fr>
Fri, 30 Aug 2013 15:34:58 +0200
branchstable
changeset 9267 24d9b86dfa54
parent 5768 1e73a466aa69
permissions -rw-r--r--
spelling: rollbacked -> rolled back

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