misc/migration/3.9.0_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 15 Oct 2010 11:41:10 +0200
branchstable
changeset 6506 c1661ea815dc
parent 5768 1e73a466aa69
permissions -rw-r--r--
[packaging] add a __init__.py to cubes directory when installing data

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