From f4b22ff4163734f98832b6f351fbe6eb3c1459f2 Mon Sep 17 00:00:00 2001 From: zhangshuai Date: Wed, 4 Sep 2024 11:01:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:environment=5Fsession=E8=A1=A8=20=E7=B4=A2?= =?UTF-8?q?=E5=BC=95=E8=AE=BE=E7=BD=AE=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/db/migration/V1.0.01__INIT_TABLES.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/db/migration/V1.0.01__INIT_TABLES.sql b/src/main/resources/db/migration/V1.0.01__INIT_TABLES.sql index 3a362f5..466161d 100644 --- a/src/main/resources/db/migration/V1.0.01__INIT_TABLES.sql +++ b/src/main/resources/db/migration/V1.0.01__INIT_TABLES.sql @@ -514,7 +514,7 @@ CREATE TABLE `environment_session` ( `workspace_id` varchar(64) NOT NULL DEFAULT '' COMMENT '工作空间ID', PRIMARY KEY (`id`) USING BTREE, KEY `idx_status` (`status`) USING BTREE, - KEY `idx_device_id` (`device_id`) USING BTREE, + KEY `idx_env_id` (`env_id`) USING BTREE, KEY `idx_user_id` (`user_id`) USING BTREE, KEY `idx_job_id` (`job_id`) USING BTREE, KEY `idx_workspace_id` (`workspace_id`) USING BTREE