brotherton-erpnext/patches/january_2013/tabsessions_to_myisam.py

7 lines
233 B
Python
Raw Normal View History

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt
2013-01-28 11:26:32 +00:00
def execute():
import webnotes
2013-01-28 11:30:59 +00:00
webnotes.conn.commit()
2013-01-28 11:26:32 +00:00
webnotes.conn.sql("""alter table tabSessions engine=MyISAM""")