misc/migration/3.9.0_Any.py
author pierre-yves
Thu, 23 May 2013 19:25:24 +0200
changeset 8996 dcd8aa47adce
parent 5768 1e73a466aa69
permissions -rw-r--r--
[session] raise proper exception with get_tx is called on a closed session Prevent attribute error on _txs Closes #2897836

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