misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 21 Jun 2010 17:48:36 +0200
changeset 5823 8a6c15e2e8b0
parent 5768 1e73a466aa69
permissions -rw-r--r--
[schema view] width isn't in authorized th attribute in xhtml DTD. katia, please do it another way.

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