misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 16 Jan 2015 14:12:49 +0100
changeset 10210 633d85ba9f72
parent 5768 1e73a466aa69
permissions -rw-r--r--
[undo/test] check that the entity was restored even though the fiche relation wasn't

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