misc/migration/3.9.0_Any.py
author Vincent Michel <vincent.michel@logilab.fr>
Mon, 07 Apr 2014 08:44:56 +0000
branchstable
changeset 9696 4de6e73f580d
parent 5768 1e73a466aa69
permissions -rw-r--r--
[dataimport] Correctly serialize datetime objects in _create_copyfrom_buffer, closes #3712885

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