mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 04:44:48 -04:00
Add new indices for deleting unused records
This commit is contained in:
parent
18420fdbd9
commit
5c8315e6ff
3 changed files with 6 additions and 3 deletions
|
@ -2,5 +2,6 @@ CREATE TABLE IF NOT EXISTS `EbookLocSubjects` (
|
|||
`EbookId` int(10) unsigned NOT NULL,
|
||||
`LocSubjectId` int(10) unsigned NOT NULL,
|
||||
`SortOrder` tinyint(3) unsigned NOT NULL,
|
||||
UNIQUE KEY `idxUnique` (`EbookId`,`LocSubjectId`)
|
||||
UNIQUE KEY `idxUnique` (`EbookId`,`LocSubjectId`),
|
||||
KEY `index1` (`LocSubjectId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue