This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix: add index on parent in child table doctype
version-14
phot0n
3 years ago
parent
7bd84496c1
commit
a6ea0c9e37
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
frappe/database/mariadb/schema.py
+ 2
- 1
frappe/database/mariadb/schema.py
View File
@@ -24,7 +24,8 @@ class MariaDBTable(DBTable):
(
f"parent varchar({varchar_len})",
f"parentfield varchar({varchar_len})",
f"parenttype varchar({varchar_len})"
f"parenttype varchar({varchar_len})",
"index parent(parent)"
)
) + ',\n'
Write
Preview
Loading…
Cancel
Save