misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 28 Sep 2011 09:27:42 +0200 (2011-09-28)
branchstable
changeset 7879 9aae456abab5
parent 5768 1e73a466aa69
permissions -rw-r--r--
[pylint] fix pylint detected errors and tweak it so that pylint -E will be much less verbose next time (+ update some copyrights on the way)
if repo.system_source.dbdriver == 'postgres':
    sql('ALTER TABLE appears ADD COLUMN weight float')
    sql('UPDATE appears SET weight=1.0 ')