brotherton-erpnext/patches/january_2013/tabsessions_to_myisam.py

7 lines
250 B
Python
Raw Normal View History

2013-11-20 07:29:58 +00:00
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# 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""")