misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Sun, 06 Feb 2011 11:33:04 +0100
branchstable
changeset 6940 1172c25655b7
parent 5768 1e73a466aa69
permissions -rw-r--r--
[rql2sql] should not select a neged relation as principal + simplify code for sql generation for attribute relation

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