misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 26 Oct 2010 20:22:08 +0200
changeset 6651 4a0283b3ce0c
parent 5768 1e73a466aa69
permissions -rw-r--r--
[ms planning] fix potential key error due to additional entries in input maps

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