misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 01 Dec 2014 16:50:41 +0100
changeset 10314 8f3783dc6358
parent 5768 1e73a466aa69
permissions -rw-r--r--
Don't pass an encoding to rqlst.as_string()

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