misc/migration/3.9.0_Any.py
author Christophe de Vienne <christophe@unlish.com>
Tue, 23 Sep 2014 11:18:56 +0200
changeset 9987 bf4f5064c7f5
parent 5768 1e73a466aa69
permissions -rw-r--r--
[pkg] Depend on Pillow instead of PIL The Pillow library is becoming the de-facto replacement for PIL. It also is way simpler to install with pip than PIL. Closes #4411354.

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