Skip to content

Commit fc4f6b8

Browse files
committed
CLAP-453 Docs: 마이그레이션 파일 수정
#592
1 parent b3a1468 commit fc4f6b8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/main/resources/db/migration/dev/V20250219453__Modify_Modified_Member_From_Task_History.sql renamed to src/main/resources/db/migration/dev/V20250219453__Update_Modified_Member_From_Task_History.sql

File renamed without changes.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
START TRANSACTION;
2+
3+
UPDATE task_history th
4+
SET modified_member_id = (
5+
SELECT member_id FROM comment c WHERE c.comment_id = th.comment_id
6+
)
7+
WHERE th.comment_id IS NOT NULL AND th.type='COMMENT_FILE';
8+
9+
COMMIT;

0 commit comments

Comments
 (0)