tabSessions: change user column to varchar(255)

This commit is contained in:
Anand Doshi 2014-05-04 11:40:14 +05:30
parent 7cf586dcd4
commit 6704946d63
2 changed files with 2 additions and 2 deletions

View file

@ -187,7 +187,7 @@ DROP TABLE IF EXISTS `tabSessions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tabSessions` (
`user` varchar(40) DEFAULT NULL,
`user` varchar(255) DEFAULT NULL,
`sid` varchar(120) DEFAULT NULL,
`sessiondata` longtext,
`ipaddress` varchar(16) DEFAULT NULL,

View file

@ -6,7 +6,7 @@ execute:frappe.reload_doc('core', 'doctype', 'docperm') #2013-13-26
execute:frappe.reload_doc('core', 'doctype', 'page') #2013-13-26
execute:frappe.reload_doc('core', 'doctype', 'report') #2013-13-26
execute:frappe.reload_doc('core', 'doctype', 'version') #2014-02-21
execute:frappe.db.sql("alter table `tabSessions` engine=InnoDB")
execute:frappe.db.sql("alter table `tabSessions` modify `user` varchar(255), engine=InnoDB")
frappe.patches.4_0.remove_index_sitemap
frappe.patches.4_0.add_delete_permission