misc/migration/3.9.0_Any.py
author Julien Jehannet <julien.jehannet@logilab.fr>
Wed, 07 Sep 2011 17:50:09 +0200
changeset 7769 8af09eeee130
parent 5768 1e73a466aa69
permissions -rw-r--r--
[session] take care of non-ascii characters in login and session id (closes: #1910849) We ensure a valid <str> conversion of the session id by using unormalize() at initialization.

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