cubicweb/misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 09 Nov 2016 16:05:06 +0100
changeset 11885 e93a01a69035
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[cleanup] flake8 rtags.py

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