misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 12 Nov 2013 15:24:57 +0100
branchstable
changeset 9326 9d145b4c4e53
parent 5768 1e73a466aa69
permissions -rw-r--r--
[web] make sign_text unicode aware, avoid crash with non-ascii chars. Closes #3289774

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