misc/migration/3.9.0_Any.py
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Thu, 23 Oct 2014 15:47:17 +0200
changeset 10107 1ef92a6193a8
parent 5768 1e73a466aa69
permissions -rw-r--r--
[serverctl] rename remove_cube to drop_cube (closes #4545093) For the sake of consistency, since commands are currently named: - add_{cube,entity,attribute,relation} - drop_{entity,attribute,relation} - remove_cube

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