Changed MySQL checksum colum to be UNIQUE, NOT NULL
This commit is contained in:
parent
475ae5748b
commit
2ebd7213e8
@ -22,9 +22,9 @@ CREATE TABLE IF NOT EXISTS `?` (
|
||||
`star` tinyint(1) NOT NULL,
|
||||
`thumbUrl` char(37) NOT NULL,
|
||||
`album` bigint(20) unsigned NOT NULL,
|
||||
`checksum` char(40) DEFAULT NULL,
|
||||
`checksum` char(40) NOT NULL UNIQUE,
|
||||
`medium` tinyint(1) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `Index_album` (`album`),
|
||||
KEY `Index_star` (`star`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
Loading…
Reference in New Issue
Block a user