cubicweb/misc/migration/3.9.0_Any.py
author Laura Médioni <laura.medioni@logilab.fr>
Mon, 17 Mar 2014 15:21:47 +0100
changeset 11187 5213dfe9cddb
parent 11057 0b59724cb3f2
permissions -rw-r--r--
Enables css customization in CalendarView now a custom css class can be set on the calendar div (closes #3654043).

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