misc/migration/3.9.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 01 Jul 2011 18:42:36 +0200
changeset 7610 838a0c910bb5
parent 5768 1e73a466aa69
permissions -rw-r--r--
[selectors, facet] make is_instance and other EClassSelector subclass gather entity classes from 'select' and 'filtered_variable' context information. Closes #1796732 This allow for instance to use the filter form on rqlst where the filtered variable is not selected

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