misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 08 Sep 2011 16:35:45 +0200
branchstable
changeset 7771 59ddc2dbe7e0
parent 5768 1e73a466aa69
permissions -rw-r--r--
[multi-sources] closes #1918120: drop behaviour leading to wrong result as demonstrated by the ticket The formerly implemented behaviour doesn't seems to be useful, nor to have a chance to be correct. At least no test case demonstrate the opposite, so I've dropped it.

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