mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
Bump TocEntries.SortOrder from tinyint to smallint
Ebooks can have more than 255 TocEntries. (572 is the current highest.)
This commit is contained in:
parent
c8e6524ef2
commit
95a1edc8b7
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
CREATE TABLE `TocEntries` (
|
CREATE TABLE `TocEntries` (
|
||||||
`EbookId` int(10) unsigned NOT NULL,
|
`EbookId` int(10) unsigned NOT NULL,
|
||||||
`TocEntry` text NOT NULL,
|
`TocEntry` text NOT NULL,
|
||||||
`SortOrder` tinyint(3) unsigned NOT NULL,
|
`SortOrder` smallint unsigned NOT NULL,
|
||||||
KEY `index1` (`EbookId`)
|
KEY `index1` (`EbookId`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue