misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 09 Jun 2011 16:56:03 +0200
branchstable
changeset 7487 2108961864d3
parent 5768 1e73a466aa69
permissions -rw-r--r--
Added tag cubicweb-debian-version-3.12.6-1 for changeset 105767487c70

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