* fix(unicode): Import unicode_literals in every file * fix(unicode): Test if safe_json_loads return unicode instead of bytes
9 lines
254 B
Python
9 lines
254 B
Python
from __future__ import unicode_literals
|
|
"""
|
|
Run this after updating country_info.json and or
|
|
"""
|
|
import frappe
|
|
|
|
def execute():
|
|
for col in ("field", "doctype"):
|
|
frappe.db.sql_ddl("alter table `tabSingles` modify column `{0}` varchar(255)".format(col))
|