misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 08 Jul 2013 20:48:54 +0200
branchstable
changeset 9144 d65b6434ae3f
parent 5768 1e73a466aa69
permissions -rw-r--r--
[pkg] Remove obsolete ubuntu hardy packaging It's been EOL for a while.

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