14 lines
599 B
MySQL
14 lines
599 B
MySQL
|
|
-- SQL table definition
|
||
|
|
-- Generated from splitting a larger SQL file
|
||
|
|
-- Table: ai_departments
|
||
|
|
--
|
||
|
|
|
||
|
|
CREATE TABLE `ai_departments` (
|
||
|
|
`id` int NOT NULL AUTO_INCREMENT,
|
||
|
|
`department_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||
|
|
`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_departments_created_at` (`created_at` DESC)
|
||
|
|
) ENGINE=InnoDB AUTO_INCREMENT=110 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|