misc/migration/3.9.0_Any.py
author Julien Jehannet <julien.jehannet@logilab.fr>
Wed, 07 Jul 2010 10:53:03 +0200
changeset 5924 b218df942dd4
parent 5768 1e73a466aa69
permissions -rw-r--r--
[book] update rql documentation and some erroneous/deprecated examples

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