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

6 lines
149 B
Python
Raw Normal View History

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()