Switch from EbookPlaceholder.Status to EbookPlaceholder.IsInProgress, and some type tweaks

This commit is contained in:
Alex Cabal 2024-12-14 13:39:28 -06:00
parent 1a742baa51
commit e56de4b19d
8 changed files with 56 additions and 39 deletions

View file

@ -1,10 +1,10 @@
CREATE TABLE IF NOT EXISTS `EbookPlaceholders` (
`EbookId` int(10) unsigned NOT NULL,
`YearPublished` smallint unsigned NULL,
`Status` enum('wanted', 'in_progress') NULL,
`Difficulty` enum('beginner', 'intermediate', 'advanced') NULL,
`TranscriptionUrl` varchar(511) NULL,
`IsWanted` boolean NOT NULL DEFAULT FALSE,
`IsInProgress` boolean NOT NULL DEFAULT FALSE,
`IsPatron` boolean NOT NULL DEFAULT FALSE,
`Notes` TEXT NULL DEFAULT NULL,
PRIMARY KEY (`EbookId`)