brotherton-erpnext/patches/january_2013/tabsessions_to_myisam.py

4 lines
119 B
Python
Raw Normal View History

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""")