feat: add public resource support, usage filtering, and recordDownload API
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE `zyt_asset_resource_usage` (
|
||||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`user_id` int(11) unsigned NOT NULL COMMENT '用户ID',
|
||||
`resource_id` int(11) unsigned NOT NULL COMMENT '资源ID',
|
||||
`create_time` int(11) DEFAULT '0' COMMENT '使用/下载时间',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `uk_user_resource` (`user_id`, `resource_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='私密资产-资源使用记录表';
|
||||
Reference in New Issue
Block a user