misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 18 Oct 2010 14:29:39 +0200
changeset 6539 4a87c8af6f3f
parent 5768 1e73a466aa69
permissions -rw-r--r--
Added tag cubicweb-version-3.10.2 for changeset 3fc6b4aaaff3

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