This commit is contained in:
xxx
2023-08-27 10:02:32 +08:00
parent acffce65ba
commit 54abd4ae6c
2 changed files with 3 additions and 164 deletions

View File

@@ -1,6 +1,6 @@
drop table admin_logs;
DROP TABLE IF EXISTS admin_logs;
CREATE TABLE `admin_logs`
CREATE TABLE IF NOT EXISTS `admin_logs`
(
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`admin_id` int(11) NOT NULL DEFAULT '0' COMMENT '管理员ID',
@@ -19,7 +19,7 @@ CREATE TABLE `admin_logs`
`created_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `a_m_o` (`admin_id`,`module`,`opt`)
) ENGINE=InnoDB AUTO_INCREMENT=515 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `course_attachment`
(