mirror of
https://github.com/standardebooks/web.git
synced 2025-07-21 14:55:13 -04:00
Make collection type (series, set) an enum
This commit is contained in:
parent
d3b7f5015a
commit
b792dec9e5
4 changed files with 10 additions and 4 deletions
|
@ -2,7 +2,7 @@ CREATE TABLE `Collections` (
|
|||
`CollectionId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`Name` varchar(255) NOT NULL,
|
||||
`UrlName` varchar(255) NOT NULL,
|
||||
`Type` varchar(255) NULL,
|
||||
`Type` enum('series', 'set') NULL,
|
||||
PRIMARY KEY (`CollectionId`),
|
||||
UNIQUE KEY `idxUnique` (`UrlName`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue