misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 05 Jan 2016 10:36:17 +0100
changeset 11082 0cdd92261c4a
parent 5768 1e73a466aa69
permissions -rw-r--r--
[web/component] guard against invalid page_size form parameter Same as dff28956f37e, except the almost same code exists in two places (yay us).

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