Add SHA1 to files
This commit is contained in:
parent
ef983a3a82
commit
0640a261d6
@ -41,6 +41,7 @@ CREATE TABLE IF NOT EXISTS `exercice_files` (
|
|||||||
`id_exercice` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
|
`id_exercice` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
|
||||||
`path` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
|
`path` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
|
||||||
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
|
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
|
||||||
|
`sha1` binary(32) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user