crt_lora_style.sql 1.1 KB

1234567891011121314151617181920212223
  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`;
  7. CREATE TABLE `crt_lora_style` (
  8. PRIMARY KEY (`id`),
  9. `id` BIGINT AUTO_INCREMENT COMMENT 'ID',
  10. `category_id` BIGINT NOT NULL COMMENT '风格分类ID',
  11. `name` VARCHAR(255) NOT NULL COMMENT '风格名称',
  12. `thumb` VARCHAR(1000) COMMENT '风格缩略图',
  13. `lora_style_name` VARCHAR(255) NOT NULL COMMENT '风格LoRA名称',
  14. `lora_style_path` VARCHAR(500) NOT NULL COMMENT '风格LoRA路径',
  15. `sort` INT DEFAULT '1' COMMENT '排序',
  16. INDEX `idx_category_id` (`category_id`)
  17. ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='短剧创作-风格LoRA表';
  18. INSERT INTO crt_lora_style(id, category_id, name, thumb, lora_style_name, lora_style_path, sort) VALUES
  19. (1, 1, 'Hyatsu梦幻宝石眼睛v2', '', 'hyatsu_gemstone_dream_eyes_v2', '/etc/ComfyUI/custom_nodes/xxx/hyatsu_gemstone_dream_eyes_v2.safetensors', 2),
  20. (2, 1, '日系漫画风', '', 'japanese_anime_style', '/etc/ComfyUI/custom_nodes/xxx/japanese_anime_style.safetensors', 1)
  21. ;