brotherton-erpnext/erpnext/patches/april_2012/change_cacheitem_schema.py

7 lines
189 B
Python

from __future__ import unicode_literals
def execute():
import webnotes
webnotes.conn.commit()
webnotes.conn.sql("alter table __CacheItem modify `value` longtext")
webnotes.conn.begin()