misc/migration/3.9.0_Any.py
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 22 Feb 2012 09:31:54 +0100
changeset 8253 df7d6c57a6c8
parent 5768 1e73a466aa69
permissions -rw-r--r--
[reledit, autoform] move reledit_form definition in reledit.py No deprecation handling needed, reledit_form is new in CW 3.15

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