mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
8 lines
460 B
SQL
8 lines
460 B
SQL
CREATE TABLE `EbookSources` (
|
|
`EbookSourceId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
`EbookId` int(10) unsigned NOT NULL,
|
|
`Type` enum('project_gutenberg', 'project_gutenberg_australia', 'project_gutenberg_canada', 'internet_archive', 'hathi_trust', 'wikisource', 'google_books', 'faded_page', 'other') DEFAULT 'other',
|
|
`Url` varchar(255) NOT NULL,
|
|
PRIMARY KEY (`EbookSourceId`),
|
|
KEY `index1` (`EbookId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|