cubicweb/misc/migration/3.9.0_Any.py
author David Douard <david.douard@logilab.fr>
Tue, 24 Apr 2018 14:16:14 +0200
changeset 12301 73634b5447e2
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[test/rset] add tests for ResultSet.first() and .last() methods

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