fix: index sort field by default in tabFile (#25853)

This commit is contained in:
Ankush Menat 2024-04-08 16:28:21 +05:30 committed by GitHub
parent 2d71c2cbcd
commit c14e5cc152
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -308,6 +308,7 @@ CREATE TABLE `tabFile` (
`attached_to_doctype` varchar(255) DEFAULT NULL,
PRIMARY KEY (`name`),
KEY `parent` (`parent`),
KEY `creation` (`creation`),
KEY `attached_to_name` (`attached_to_name`),
KEY `attached_to_doctype` (`attached_to_doctype`)
) ENGINE=InnoDB ROW_FORMAT=DYNAMIC CHARACTER SET=utf8mb4 COLLATE=utf8mb4_unicode_ci;