brotherton-erpnext/erpnext/patches/june_2012/alter_tabsessions.py

5 lines
151 B
Python

def execute():
import webnotes
webnotes.conn.commit()
webnotes.conn.sql("alter table `tabSessions` modify user varchar(180)")
webnotes.conn.begin()