mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 10:56:46 -04:00
Store EbookSourceType as a string/enum, not int
This commit is contained in:
parent
cc8de11ca4
commit
88b3ffd9ed
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
CREATE TABLE `EbookSources` (
|
CREATE TABLE `EbookSources` (
|
||||||
`EbookId` int(10) unsigned NOT NULL,
|
`EbookId` int(10) unsigned NOT NULL,
|
||||||
`Type` tinyint(4) unsigned NOT NULL,
|
`Type` enum('pg', 'pg_australia', 'pg_canada', 'ia', 'hathi_trust', 'wikisource', 'google_books', 'faded_page', 'other') DEFAULT 'other',
|
||||||
`Url` varchar(255) NOT NULL,
|
`Url` varchar(255) 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