misc/migration/3.9.0_Any.py
author Christophe de Vienne <cdevienne@gmail.com>
Thu, 12 Dec 2013 16:17:25 +0100
changeset 9382 ac0661486568
parent 5768 1e73a466aa69
permissions -rw-r--r--
[release notes] Documents one() and find() addition

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