misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 15 Jun 2011 17:13:26 +0200
branchstable
changeset 7512 d2de5fb0cc33
parent 5768 1e73a466aa69
permissions -rw-r--r--
[packaging] Build the cubicweb-documentation package

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