seitime-frappe/frappe/patches/v14_0/fix_user_settings_collation.py
Akhil Narang 4a04b0a17f
Merge pull request #31523 from akhilnarang/set-mariadb-collation
fix(mariadb): set collation in connection
2025-03-17 11:06:27 +00:00

5 lines
137 B
Python

import frappe
def execute():
frappe.db.sql("ALTER TABLE __UserSettings CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;")