misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 03 Nov 2011 15:27:31 +0100
branchstable
changeset 8048 10a0f73d834d
parent 5768 1e73a466aa69
permissions -rw-r--r--
[rset] replace entity cw_rset on .limit(inplace=True) will avoid pb if the entity is still referenced by some other entity relations cache. Closes #2065643 Also, drop '_resultset' from some test names on the way (redundant information, we're in ResultSetTC...)

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