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