mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
Add support for filling backed enum types in the DB ORM layer, and cleanup some formatting issues
This commit is contained in:
parent
e7a9790147
commit
5b3f8f7b77
8 changed files with 57 additions and 54 deletions
|
@ -17,7 +17,7 @@ CREATE TABLE `Artworks` (
|
|||
`ArtworkPageUrl` varchar(255) NULL,
|
||||
`IsPublishedInUs` tinyint(1) NOT NULL DEFAULT FALSE,
|
||||
`EbookUrl` varchar(255) NULL,
|
||||
`MimeType` varchar(64) NOT NULL,
|
||||
`MimeType` enum('image/jpeg', 'image/png', 'image/bmp', 'image/tiff') NOT NULL,
|
||||
`Exception` TEXT NULL DEFAULT NULL,
|
||||
`Notes` TEXT NULL DEFAULT NULL
|
||||
PRIMARY KEY (`ArtworkId`),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue