brotherton-erpnext/patches/april_2012/change_cacheitem_schema.py

7 lines
189 B
Python
Raw Normal View History

from __future__ import unicode_literals
2012-04-23 12:53:17 +00:00
def execute():
import webnotes
2012-04-26 07:43:10 +00:00
webnotes.conn.commit()
2012-04-23 12:53:17 +00:00
webnotes.conn.sql("alter table __CacheItem modify `value` longtext")
2012-04-26 07:43:10 +00:00
webnotes.conn.begin()