misc/migration/3.9.0_Any.py
author Rabah Meradi <rabah.meradi@logilab.fr>
Wed, 03 Jun 2015 17:22:06 +0200
changeset 10383 53d7cf6f0b84
parent 5768 1e73a466aa69
permissions -rw-r--r--
[doc] fix errors in test_visibility_propagation example * forget to use the access instructions * wrong use of the function entity_from_eid * some indentation problems

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