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: index column should be first
(cherry picked from commit
da561c237d
)
version-14
Ankush Menat
2 years ago
committed by
Mergify
parent
10e1eed077
commit
dd7faf5bdc
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
frappe/database/mariadb/database.py
+ 1
- 0
frappe/database/mariadb/database.py
View File
@@ -301,6 +301,7 @@ class MariaDBDatabase(MariaDBConnectionUtil, MariaDBExceptionUtil, Database):
where table_name="{table_name}"
and column_name=columns.column_name
and NON_UNIQUE=1
and Seq_in_index = 1
limit 1
), 0) as 'index',
column_key = 'UNI' as 'unique'
Write
Preview
Loading…
Cancel
Save