From c6fc345f356540bade6090f99070fc2c9900c4f3 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 25 Jun 2012 15:30:59 +0530 Subject: [PATCH] alter tabsessions to change user column definition --- erpnext/patches/june_2012/alter_tabsessions.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 erpnext/patches/june_2012/alter_tabsessions.py diff --git a/erpnext/patches/june_2012/alter_tabsessions.py b/erpnext/patches/june_2012/alter_tabsessions.py new file mode 100644 index 0000000000..1ea4d7c07b --- /dev/null +++ b/erpnext/patches/june_2012/alter_tabsessions.py @@ -0,0 +1,5 @@ +def execute(): + import webnotes + webnotes.conn.commit() + webnotes.conn.sql("alter table `tabSessions` modify user varchar(180)") + webnotes.conn.begin() \ No newline at end of file