mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 23:30:35 -04:00
8 lines
343 B
SQL
8 lines
343 B
SQL
CREATE TABLE IF NOT EXISTS `CollectionEbooks` (
|
|
`EbookId` int(10) unsigned NOT NULL,
|
|
`CollectionId` int(10) unsigned NOT NULL,
|
|
`SequenceNumber` int(10) unsigned NULL,
|
|
`SortOrder` tinyint(3) unsigned NOT NULL,
|
|
UNIQUE KEY `idxUnique` (`EbookId`,`CollectionId`),
|
|
KEY `index1` (`CollectionId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|