misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 07 Apr 2014 14:15:35 +0200
changeset 9632 c60c8dec0e0e
parent 5768 1e73a466aa69
permissions -rw-r--r--
[hooks/notification] Fix indentation Follow-up for changeset 1b8552265f3b "[hooks/notification] use a cnx not a session"

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