Browse Source

minor fixes

develop
Nabin Hait 13 years ago
parent
commit
92ec4dcb6f
  1. 2
      erpnext/patches/april_2012/after_sync_cleanup.py
  2. 2
      erpnext/patches/april_2012/change_cacheitem_schema.py

2
erpnext/patches/april_2012/after_sync_cleanup.py

@ -1,5 +1,5 @@
def execute():
import webnotes
from webnotes.model import delete_doc
webnotes.conn.sql("update `tabDocType` set module = 'Utilities' where name in ('Question', 'Answer')")
delete_doc('Module Def', 'Knowledge Base')

2
erpnext/patches/april_2012/change_cacheitem_schema.py

@ -1,3 +1,5 @@
def execute():
import webnotes
webnotes.conn.commit()
webnotes.conn.sql("alter table __CacheItem modify `value` longtext")
webnotes.conn.begin()

Loading…
Cancel
Save