Skip to content

feat: ERD 도구 테이블/컬럼/외래키 삭제 기능 추가#273

Open
seonghobae wants to merge 1 commit into
developmentalfrom
feat/erd-tool-remove-methods-5568272533307663155
Open

feat: ERD 도구 테이블/컬럼/외래키 삭제 기능 추가#273
seonghobae wants to merge 1 commit into
developmentalfrom
feat/erd-tool-remove-methods-5568272533307663155

Conversation

@seonghobae

Copy link
Copy Markdown

변경 사항

ERD 모델 도구(packages/web/src/lib/erd.ts)에 사용자가 엔티티 관계를 관리하기 위해 필수적인 삭제 기능 3가지를 추가했습니다:

  • removeTable(name: string): 테이블과 참조하는 외래키 제거
  • removeColumn(tableName: string, columnName: string): 컬럼 제거 (외래키로 참조 중일 경우 삭제 방어)
  • removeForeignKey(tableName: string, fkColumnName: string): 외래키 제약조건 제거

영향도 및 확인

  • 100% 테스트 커버리지 유지 (packages/web/src/lib/erd.test.ts)
  • 프론트엔드 기능에 영향 없음
  • 보안 또는 기타 회귀 문제 없음

PR created automatically by Jules for task 5568272533307663155 started by @seonghobae

- `removeTable`, `removeColumn`, `removeForeignKey` 메서드를 ERDModel에 추가했습니다.
- 컬럼이 외래키에 사용 중일 경우 삭제 불가 로직을 포함했습니다.
- 관련 테스트 코드 작성(100% 커버리지 만족) 및 CHANGELOG를 업데이트했습니다.
@google-labs-jules

Copy link
Copy Markdown

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant