misc/migration/3.9.0_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 08 Apr 2013 14:16:46 +0200
brancholdstable
changeset 8864 09d65bc1f025
parent 5768 1e73a466aa69
permissions -rw-r--r--
Added tag cubicweb-version-3.15.11 for changeset 38c6a3ea8252

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