misc/migration/3.9.0_Any.py
author Christophe de Vienne <cdevienne@gmail.com>
Sat, 14 Dec 2013 14:29:37 +0100
branchstable
changeset 9431 2b183c110631
parent 5768 1e73a466aa69
permissions -rw-r--r--
[doc] Update the debian stable name to wheezy

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