cubicweb/misc/migration/3.9.0_Any.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Tue, 30 Jul 2019 14:42:15 +0200
changeset 12714 27ea20b1915f
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[tox] Remove --ignore in check-manifest check All symlinks have been dropped in previous changesets.

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