misc/migration/3.9.0_Any.py
author Arthur Lutz <arthur.lutz@logilab.fr>
Wed, 27 Jul 2011 12:25:48 +0200
brancholdstable
changeset 7703 2364087528e7
parent 5768 1e73a466aa69
permissions -rw-r--r--
[css] syntax fix in cubicweb.css

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