misc/migration/3.9.0_Any.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Thu, 03 Nov 2011 16:01:41 +0100
changeset 8051 41398fa1a90f
parent 5768 1e73a466aa69
permissions -rw-r--r--
[rql, integrity] let ValidationError and Unauthorized pass during composite deletion (closes #2070042)

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