mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 15:20:32 -04:00
8 lines
353 B
SQL
8 lines
353 B
SQL
CREATE TABLE `CollectionEbooks` (
|
|
`CollectionEbookId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
`EbookId` int(10) unsigned NOT NULL,
|
|
`CollectionId` int(10) unsigned NOT NULL,
|
|
`SequenceNumber` int(10) unsigned NULL,
|
|
PRIMARY KEY (`CollectionEbookId`),
|
|
UNIQUE KEY `idxUnique` (`EbookId`,`CollectionId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|