feat: ERD 도구 테이블/컬럼/외래키 삭제 기능 추가#273
Conversation
- `removeTable`, `removeColumn`, `removeForeignKey` 메서드를 ERDModel에 추가했습니다. - 컬럼이 외래키에 사용 중일 경우 삭제 불가 로직을 포함했습니다. - 관련 테스트 코드 작성(100% 커버리지 만족) 및 CHANGELOG를 업데이트했습니다.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
변경 사항
ERD 모델 도구(
packages/web/src/lib/erd.ts)에 사용자가 엔티티 관계를 관리하기 위해 필수적인 삭제 기능 3가지를 추가했습니다:removeTable(name: string): 테이블과 참조하는 외래키 제거removeColumn(tableName: string, columnName: string): 컬럼 제거 (외래키로 참조 중일 경우 삭제 방어)removeForeignKey(tableName: string, fkColumnName: string): 외래키 제약조건 제거영향도 및 확인
packages/web/src/lib/erd.test.ts)PR created automatically by Jules for task 5568272533307663155 started by @seonghobae