misc/migration/3.9.0_Any.py
author Christophe de Vienne <christophe@unlish.com>
Thu, 24 Jul 2014 20:57:14 +0200
changeset 9940 292f786009ba
parent 5768 1e73a466aa69
permissions -rw-r--r--
[wsgi] Re-set the request content after calling the inherited constructor. Closes #4191813

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