|
|
@ -336,7 +336,7 @@ def change_file_ext(): |
|
|
|
|
|
|
|
""" File Name """ |
|
|
|
frappe.db.sql(''' |
|
|
|
update _a9b9faaf89312ce4.tabFile set file_name = concat(substring(file_name,1,length(file_name)-3),lower(substring(file_name,length(file_name)-2))) |
|
|
|
update tabFile set file_name = concat(substring(file_name,1,length(file_name)-3),lower(substring(file_name,length(file_name)-2))) |
|
|
|
where substring(file_name,length(file_name)-2) REGEXP BINARY '[A-Z]'; |
|
|
|
''') |
|
|
|
frappe.db.commit() |
|
|
|