misc/migration/3.9.0_Any.py
author Rémi Cardona <remi.cardona@logilab.fr>
Fri, 15 Mar 2013 12:11:29 +0100
changeset 8850 4032499c701e
parent 5768 1e73a466aa69
permissions -rw-r--r--
[cwconfig] Add optional configuration param to load a UI cube before other cubes Needed later on to load UI cubes such as legacyui, and one day squareui.

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