brotherton-erpnext/patches/january_2013/tabsessions_to_myisam.py
2013-11-20 13:00:28 +05:30

7 lines
250 B
Python

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
def execute():
import webnotes
webnotes.conn.commit()
webnotes.conn.sql("""alter table tabSessions engine=MyISAM""")