misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 17 Feb 2014 11:07:38 +0100
changeset 9541 e8040107b97e
parent 5768 1e73a466aa69
permissions -rw-r--r--
[schema] explicitly declare 'add' permissions for a couple attributes

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