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 18:23:17 +05:30
def execute():
import webnotes
2012-04-26 13:13:10 +05:30
webnotes.conn.commit()
2012-04-23 18:23:17 +05:30
webnotes.conn.sql("alter table __CacheItem modify `value` longtext")
2012-04-26 13:13:10 +05:30
webnotes.conn.begin()