misc/migration/3.9.0_Any.py
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 11 Oct 2010 19:13:00 +0200
changeset 6449 613d83588998
parent 5768 1e73a466aa69
permissions -rw-r--r--
[formwidgets] rewrite autocomplete cw widgets to get rid of div-style declaration API

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