ai-course/DB/增量DB.sql
2025-11-18 13:32:46 +08:00

91 lines
4.5 KiB
SQL

--实验课实验报告模版权限菜单模版租户和清华大学演示站处理
INSERT INTO `admin_permissions` ( `type`, `group_name`, `sort`, `name`, `slug`, `created_at`, `create_time`, `update_time`, `creator`, `updater`, `tenant_id` )
VALUES
( 'action', '实验课', 0, '查询|新增|编辑|删除', 'experiment', '2025-08-30 08:46:29', '2025-08-30 08:44:56', '2025-08-30 08:48:00', '100000005', '100000005', '42' );
INSERT INTO `admin_permissions` ( `type`, `group_name`, `sort`, `name`, `slug`, `created_at`, `create_time`, `update_time`, `creator`, `updater`, `tenant_id` )
VALUES
( 'action', '实验报告模版', 0, '查询|新增|编辑|删除', 'template', '2025-08-30 08:47:30', '2025-08-30 08:47:26', '2025-08-30 08:48:00', '100000005', '100000005', '42' );
INSERT INTO `admin_permissions` ( `type`, `group_name`, `sort`, `name`, `slug`, `created_at`, `create_time`, `update_time`, `creator`, `updater`, `tenant_id` )
VALUES
( 'action', '实验课', 0, '查询|新增|编辑|删除', 'experiment', '2025-08-30 08:46:29', '2025-08-30 08:44:56', '2025-08-30 08:48:00', '100000005', '100000005', '0' );
INSERT INTO `admin_permissions` ( `type`, `group_name`, `sort`, `name`, `slug`, `created_at`, `create_time`, `update_time`, `creator`, `updater`, `tenant_id` )
VALUES
( 'action', '实验报告模版', 0, '查询|新增|编辑|删除', 'template', '2025-08-30 08:47:30', '2025-08-30 08:47:26', '2025-08-30 08:48:00', '100000005', '100000005', '0' );
ALTER TABLE `lab_course_info`
MODIFY COLUMN `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键' FIRST;
ALTER TABLE `lab_equ_warn_info`
MODIFY COLUMN `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键' FIRST;
--软件管理权限控制
INSERT INTO `admin_permissions` ( `type`, `group_name`, `sort`, `name`, `slug`, `created_at`, `create_time`, `update_time`, `creator`, `updater`, `tenant_id` )
VALUES
( 'action', '软件管理', 0, '查询|新增|编辑|删除', 'virtual-simulation-card', '2025-08-30 08:46:29', '2025-08-30 08:44:56', '2025-08-30 08:48:00', '100000005', '100000005', '42' );
INSERT INTO `admin_permissions` ( `type`, `group_name`, `sort`, `name`, `slug`, `created_at`, `create_time`, `update_time`, `creator`, `updater`, `tenant_id` )
VALUES
( 'action', '学习记录', 0, '查询|新增|编辑|删除', 'simulation-records', '2025-08-30 08:47:30', '2025-08-30 08:47:26', '2025-08-30 08:48:00', '100000005', '100000005', '42' );
INSERT INTO `admin_permissions` ( `type`, `group_name`, `sort`, `name`, `slug`, `created_at`, `create_time`, `update_time`, `creator`, `updater`, `tenant_id` )
VALUES
( 'action', '软件管理', 0, '查询|新增|编辑|删除', 'virtual-simulation-card', '2025-08-30 08:46:29', '2025-08-30 08:44:56', '2025-08-30 08:48:00', '100000005', '100000005', '0' );
INSERT INTO `admin_permissions` ( `type`, `group_name`, `sort`, `name`, `slug`, `created_at`, `create_time`, `update_time`, `creator`, `updater`, `tenant_id` )
VALUES
( 'action', '学习记录', 0, '查询|新增|编辑|删除', 'simulation-records', '2025-08-30 08:47:30', '2025-08-30 08:47:26', '2025-08-30 08:48:00', '100000005', '100000005', '0' );
INSERT INTO `admin_permissions` ( `type`, `group_name`, `sort`, `name`, `slug`, `created_at`, `create_time`, `update_time`, `creator`, `updater`, `tenant_id` )
VALUES
( 'action', '重庆项目-考试任务', 0, '查询|新增|编辑|删除', 'examAdministration', '2025-08-30 08:46:29', '2025-08-30 08:44:56', '2025-08-30 08:48:00', '100000005', '100000005', '42' );
INSERT INTO `admin_permissions` ( `type`, `group_name`, `sort`, `name`, `slug`, `created_at`, `create_time`, `update_time`, `creator`, `updater`, `tenant_id` )
VALUES
( 'action', '重庆项目-考试任务', 0, '查询|新增|编辑|删除', 'examAdministration', '2025-08-30 08:46:29', '2025-08-30 08:44:56', '2025-08-30 08:48:00', '100000005', '100000005', '0' );
INSERT INTO `app_config` (
`group_name`,
`name`,
`sort`,
`field_type`,
`key_name`,
`key_value`,
`option_value`,
`is_private`,
`help`,
`created_at`,
`is_hidden`,
`create_time`,
`update_time`,
`creator`,
`updater`,
`tenant_id`
)
VALUES
(
'S3存储',
'S3自定义域名',
80,
'text',
's3.zdy_domain_key',
'http://webapp.mstarai.cn',
NULL,
0,
'',
'2025-06-09 12:33:59',
1,
'2025-06-11 14:23:04',
'2025-06-11 14:38:23',
NULL,
NULL,
'0'
);