misc/migration/3.9.0_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Wed, 20 Mar 2013 17:40:25 +0100
branchstable
changeset 8743 27a83746aebd
parent 5768 1e73a466aa69
permissions -rw-r--r--
3.16 is the new stable After discussion with David Douard I'm merging 3.16.x branches in stable and starting 3.17 feature on default.

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