misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 27 Jun 2011 18:38:08 +0200
changeset 7563 8e129bb6b571
parent 5768 1e73a466aa69
permissions -rw-r--r--
[tests] update repository tests with new `use_cwuri_as_url` attribute This attribute was intriduced by changeset 92fd4b777016

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