misc/migration/3.9.0_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 02 Jan 2014 18:30:31 +0100
branchstable
changeset 9426 8e87f1e18a37
parent 5768 1e73a466aa69
permissions -rw-r--r--
[views/workflow/tmppng] fix console crash on nth call to this one-shot view The underlying design issue is not addressed here, only a cosmetic and "we understand and document what's happening" note. Related to #3400448.

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