minor fixes

This commit is contained in:
Nabin Hait 2012-04-26 13:13:10 +05:30
parent 2453740621
commit 92ec4dcb6f
2 changed files with 3 additions and 1 deletions

View File

@ -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')

View File

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