-- ******************************************************************
-- 表 kku_pet_skills 的创建SQL
-- 对应的Model: App\Module\Pet\Models\PetSkill
-- 警告: 此文件由系统自动生成，禁止修改！
-- ******************************************************************

CREATE TABLE `kku_pet_skills` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `skill_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '技能名称',
  `stamina_cost` smallint NOT NULL COMMENT '体力消耗',
  `cool_down` int DEFAULT NULL COMMENT '冷却时间(秒)',
  `duration_time` int DEFAULT NULL COMMENT '持续时间(秒)',
  `effect_desc` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '效果描述',
  `min_level` tinyint unsigned DEFAULT '1' COMMENT '最低等级要求',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='技能配置';
