misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 14 Jun 2011 22:54:20 +0200
branchstable
changeset 7506 c8cda2aca92e
parent 5768 1e73a466aa69
permissions -rw-r--r--
[testlib, realdb] we should close connections prior to create a new db using current db as template

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