misc/migration/3.9.0_Any.py
author David Douard <david.douard@logilab.fr>
Thu, 01 Mar 2012 15:31:21 +0100
branchstable
changeset 8291 f559ab9602e7
parent 5768 1e73a466aa69
permissions -rw-r--r--
prepare version 3.14.5

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