mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 11:26:37 -04:00
Add DB setup to readme
This commit is contained in:
parent
b6fbcaba26
commit
82e43cb520
20 changed files with 27 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
|||
CREATE TABLE `Artworks` (
|
||||
CREATE TABLE IF NOT EXISTS `Artworks` (
|
||||
`ArtworkId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`ArtistId` int(10) unsigned NOT NULL,
|
||||
`Name` varchar(255) NOT NULL,
|
||||
|
@ -19,7 +19,7 @@ CREATE TABLE `Artworks` (
|
|||
`EbookUrl` varchar(255) NULL,
|
||||
`MimeType` enum('image/jpeg', 'image/png', 'image/bmp', 'image/tiff') NOT NULL,
|
||||
`Exception` TEXT NULL DEFAULT NULL,
|
||||
`Notes` TEXT NULL DEFAULT NULL
|
||||
`Notes` TEXT NULL DEFAULT NULL,
|
||||
PRIMARY KEY (`ArtworkId`),
|
||||
KEY `index1` (`Status`),
|
||||
KEY `index2` (`UrlName`),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue