misc/migration/3.9.0_Any.py
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Tue, 15 Mar 2011 09:41:45 +0100 (2011-03-15)
brancholdstable
changeset 7079 6024de6094f6
parent 5768 1e73a466aa69
permissions -rw-r--r--
[doc] fix rql/debugging.rst and server.__init__ docstrings
if repo.system_source.dbdriver == 'postgres':
    sql('ALTER TABLE appears ADD COLUMN weight float')
    sql('UPDATE appears SET weight=1.0 ')