diff options
| author | zhangshuai <[email protected]> | 2024-09-04 11:01:53 +0800 |
|---|---|---|
| committer | zhangshuai <[email protected]> | 2024-09-04 11:01:53 +0800 |
| commit | f4b22ff4163734f98832b6f351fbe6eb3c1459f2 (patch) | |
| tree | e93ad7cf0e3d02ec2191dd3adf0b8efbd3bd1c2f | |
| parent | fec4beed2d60563430365d8ef5562bc8eeba23df (diff) | |
fix:environment_session表 索引设置错误
| -rw-r--r-- | src/main/resources/db/migration/V1.0.01__INIT_TABLES.sql | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
