misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 22 Jan 2015 17:39:07 +0100
changeset 10159 5cc8fdba56d5
parent 5768 1e73a466aa69
permissions -rw-r--r--
Added tag cubicweb-version-3.19.8, cubicweb-debian-version-3.19.8-1, cubicweb-centos-version-3.19.8-1 for changeset efc8645ece43

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