misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 17 Dec 2013 11:50:12 +0100
changeset 9479 f13fbab0c718
parent 5768 1e73a466aa69
permissions -rw-r--r--
[server] Allow setting an InternalManager's preferred language Related to #3381521

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