misc/migration/3.9.0_Any.py
author Rémi Cardona <remi.cardona@logilab.fr>
Thu, 25 Sep 2014 17:38:51 +0200
changeset 9991 3e7f1e9f3adc
parent 5768 1e73a466aa69
permissions -rw-r--r--
[devtools] allow cross-origin requests for qunit We have a mix of file:// html and http:// ajax calls. Which we should at some point fix to all be http, but. Related to #4294727.

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