misc/migration/3.9.0_Any.py
author Katia Saurfelt <katia.saurfelt@logilab.fr>
Wed, 29 Jan 2014 10:57:10 +0100
changeset 9562 0509880fec01
parent 5768 1e73a466aa69
permissions -rw-r--r--
[facet] create a RangeRQLPathFacet (closes #2852512) This facet is a mix between a RQLPathFacet and a RangeFacet, allowing to use the FacetRangeWidget on the RQLPathFacet target attribute

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