crt_lora_style_collect.sql 569 B

123456789101112131415161718
  1. /**
  2. Source Server Version: 8.0.31
  3. Source Database: backendsys
  4. Date: 2025/06/03 10:09:22
  5. */
  6. DROP TABLE IF EXISTS `crt_lora_style_collect`;
  7. CREATE TABLE `crt_lora_style_collect` (
  8. `user_id` BIGINT NOT NULL COMMENT '用户ID',
  9. `lora_style_id` BIGINT NOT NULL COMMENT '风格ID',
  10. INDEX `idx_user_id` (`user_id`),
  11. INDEX `idx_lora_style_id` (`lora_style_id`)
  12. ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='短剧创作-风格LoRA-用户收藏表';
  13. INSERT INTO crt_lora_style_collect(user_id, lora_style_id) VALUES
  14. (1, 1),
  15. (1, 2)
  16. ;