misc/migration/3.9.0_Any.py
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Wed, 09 Apr 2014 15:42:27 +0200
changeset 9759 846bc9227394
parent 5768 1e73a466aa69
permissions -rw-r--r--
[serverctl] rename 'add-source' to 'source-add' for consistency's sake (closes #3732169)

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