misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 27 Jul 2015 10:13:25 +0200
changeset 10795 839ea43f4d5b
parent 5768 1e73a466aa69
permissions -rw-r--r--
[skel] stop deleting cubes egg-info It doesn't hurt and provides some metadata.

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