cubicweb/misc/migration/3.9.0_Any.py
author Arthur Lutz <arthur.lutz@logilab.fr>
Fri, 31 Jan 2020 17:07:25 +0100
branch3.27
changeset 12862 87b00a0cc64d
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[doc/book/admin] initial version of deploy cubicweb page in documentation

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