misc/migration/3.9.0_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 25 Jun 2013 17:42:12 +0200
changeset 9088 04ceb4268b3b
parent 5768 1e73a466aa69
permissions -rw-r--r--
[connection] Connection now call _set_user to CWUser object linked to itseld Session.user is linked to the session.

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