cubicweb/misc/migration/3.9.0_Any.py
author Laurent Peuch <cortex@worlddomination.be>
Tue, 10 Dec 2019 23:34:46 +0100
changeset 12801 1156108afab9
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[doc/building/fix] encoding issue was crashing sphinx in python3

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