cubicweb/misc/migration/3.9.0_Any.py
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 17 Oct 2017 11:58:35 +0200
branch3.25
changeset 12214 d238badfc268
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[pkg] version 3.25.3

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