匹配回收,bug修复
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE IF NOT EXISTS biz_shop_match_shop_candidate (
|
||||
id BIGINT PRIMARY KEY AUTO_INCREMENT COMMENT '主键',
|
||||
user_id BIGINT NOT NULL COMMENT '用户 ID',
|
||||
shop_name VARCHAR(255) NOT NULL COMMENT '店铺名称(已规范化)',
|
||||
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
UNIQUE KEY uk_user_shop (user_id, shop_name),
|
||||
KEY idx_user_id (user_id)
|
||||
) COMMENT='匹配店铺-用户备选店铺';
|
||||
@@ -0,0 +1,5 @@
|
||||
CREATE TABLE IF NOT EXISTS biz_shop_match_country_pref (
|
||||
user_id BIGINT NOT NULL PRIMARY KEY COMMENT '用户 ID',
|
||||
country_codes_json VARCHAR(256) NOT NULL COMMENT 'JSON 数组,按处理顺序保存国家代码',
|
||||
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间'
|
||||
) COMMENT='匹配店铺-用户国家偏好';
|
||||
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE biz_file_task
|
||||
ADD COLUMN scheduled_at DATETIME NULL COMMENT '定时执行时间' AFTER finished_at;
|
||||
909650
backend-java/src/main/resources/db/aiimage.sql
Normal file
909650
backend-java/src/main/resources/db/aiimage.sql
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user