Adopt IF NOT EXISTS approach from 82e43cb

This commit is contained in:
Mike Colagrosso 2024-10-23 17:13:26 -06:00 committed by Alex Cabal
parent 65d1dcdd88
commit c3c4cbddca
10 changed files with 10 additions and 10 deletions

View file

@ -1,4 +1,4 @@
CREATE TABLE `EbookSources` (
CREATE TABLE IF NOT EXISTS `EbookSources` (
`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,