1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-01 23:38:37 +00:00

update repo_metadata sql (#6962)

This commit is contained in:
欢乐马 2024-10-29 14:56:46 +08:00 committed by GitHub
parent c5c680cb53
commit 9e67fd714e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,8 @@ CREATE TABLE IF NOT EXISTS `repo_metadata` (
`created_time` DATETIME NOT NULL,
`from_commit` varchar(40) NULL,
`to_commit` varchar(40) NULL,
`face_recognition_enabled` tinyint(1) DEFAULT NULL,
`last_face_cluster_time` datetime DEFAULT NULL,
UNIQUE KEY `key_repo_metadata_repo_id`(`repo_id`),
KEY `key_repo_metadata_enabled`(`enabled`),
PRIMARY KEY (`id`)

View File

@ -1532,6 +1532,8 @@ CREATE TABLE `repo_metadata` (
`created_time` DATETIME NOT NULL,
`from_commit` varchar(40) NULL,
`to_commit` varchar(40) NULL,
`face_recognition_enabled` tinyint(1) DEFAULT NULL,
`last_face_cluster_time` datetime DEFAULT NULL,
UNIQUE KEY `key_repo_metadata_repo_id`(`repo_id`),
KEY `key_repo_metadata_enabled`(`enabled`),
PRIMARY KEY (`id`)