misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 01 Oct 2015 12:15:14 +0200
changeset 10755 4c48d3bab38c
parent 5768 1e73a466aa69
permissions -rw-r--r--
[devtools] CubicWebTC._check_html may have to deal with unicode or bytes If called with template=None, CubicWebTC.view will not go through main-template, and return the unicode data from the view directly instead of encoded data.

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