misc/migration/3.9.0_Any.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Thu, 27 Jan 2011 18:29:17 +0100
branchstable
changeset 6910 bab54e22f94d
parent 5768 1e73a466aa69
permissions -rw-r--r--
fix test broken by addition of new entity in test schema

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