misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 13 Jun 2013 12:01:23 +0200
changeset 9006 e4ea8f9ffa11
parent 5768 1e73a466aa69
permissions -rw-r--r--
notification: use viewargs for notif_entity_updated instead of transaction_data Now that notifications use separate sessions, they can't rely on the original transaction_data being around, so pass the data through view arguments instead, so the notification view knows what changed on updated entities. Closes #2936180

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