misc/migration/3.9.0_Any.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Wed, 29 Jun 2011 13:03:04 +0200
branchstable
changeset 7597 c6cf2a9b2331
parent 5768 1e73a466aa69
permissions -rw-r--r--
[doc] SQL Server isolation level settings

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