misc/migration/3.9.0_Any.py
author Arthur Lutz <arthur.lutz@logilab.fr>
Tue, 21 Jan 2014 18:39:32 +0100
changeset 9476 33a7db07201e
parent 5768 1e73a466aa69
permissions -rw-r--r--
[doc] Update copyright date to 2014 (closes #3463136)

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