misc/migration/3.9.0_Any.py
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Tue, 24 Aug 2010 11:57:45 +0200
branchstable
changeset 6136 79da6f969b15
parent 5768 1e73a466aa69
permissions -rw-r--r--
[dataimport] refactor commitevery to gain readability

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