-- SQL table definition
-- Generated from splitting a larger SQL file
-- Table: ai_keywords
--

CREATE TABLE `ai_keywords` (
  `id` int NOT NULL AUTO_INCREMENT,
  `keywords_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `department_id` int NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_ai_keywords_dept_created` (`department_id`,`created_at` DESC),
  KEY `idx_ai_keywords_created_at` (`created_at` DESC)
) ENGINE=InnoDB AUTO_INCREMENT=417 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
