Merge branch 'master' into dev
This commit is contained in:
commit
b38546489d
11
erpnext/patches/june_2012/cache_item_table.py
Normal file
11
erpnext/patches/june_2012/cache_item_table.py
Normal file
@ -0,0 +1,11 @@
|
||||
def execute():
|
||||
"""drop and create __CacheItem table again"""
|
||||
import webnotes
|
||||
webnotes.conn.commit()
|
||||
webnotes.conn.sql("drop table __CacheItem")
|
||||
webnotes.conn.sql("""create table __CacheItem(
|
||||
`key` VARCHAR(180) NOT NULL PRIMARY KEY,
|
||||
`value` LONGTEXT,
|
||||
`expires_on` DATETIME
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8""")
|
||||
webnotes.conn.begin()
|
@ -462,4 +462,9 @@ patch_list = [
|
||||
'patch_file': 'delete_about_contact',
|
||||
'description': "delete depracated doctypes of website module"
|
||||
},
|
||||
{
|
||||
'patch_module': 'patches.june_2012',
|
||||
'patch_file': 'cache_item_table',
|
||||
'description': "create cache item table again"
|
||||
},
|
||||
]
|
Loading…
Reference in New Issue
Block a user