misc/migration/3.9.0_Any.py
author Christophe de Vienne <cdevienne@gmail.com>
Wed, 04 Dec 2013 14:26:35 +0100
branchstable
changeset 9330 45e0034e2a73
parent 5768 1e73a466aa69
permissions -rw-r--r--
[doc] Fix a sample request

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