Skip to content

Conversation

@deveroskp
Copy link
Contributor

  • problem 테이블에 submission과 code_submission이 중복되어 발생한 경고에 대해서, code_submission을 제거하여 해결했습니다.

@deveroskp deveroskp requested a review from a team as a code owner December 29, 2025 15:04
@deveroskp deveroskp linked an issue Dec 29, 2025 that may be closed by this pull request
@coderabbitai
Copy link

coderabbitai bot commented Dec 29, 2025

📝 Walkthrough

Walkthrough

세 개의 파일에서 code_submissions 기능을 제거합니다. 관리자 폼 제외 설정에서 제거하고, Problem 모델의 관계를 삭제하며, 데이터베이스 마이그레이션을 통해 code_submissions 테이블을 삭제합니다.

Changes

Cohort / File(s) Summary
관리자 폼 설정
wacruit/src/admin/views.py
ProblemAdmin.form_excluded_columns에서 code_submissions 제거
데이터 모델
wacruit/src/apps/problem/models.py
Problem 모델에서 code_submissions 관계 필드 제거
데이터베이스 마이그레이션
wacruit/src/database/migrations/versions/2026_01_02_0408-269bf3ec1381_delete_code_submissions.py
code_submissions 테이블 삭제/재생성 마이그레이션 추가

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed 풀 리퀘스트 제목은 중복된 code_submissions 속성을 제거한다는 변경사항의 핵심을 명확하게 설명하고 있습니다.
Description check ✅ Passed 풀 리퀘스트 설명은 problem 테이블의 중복 속성(submission과 code_submission)으로 인한 경고를 해결하기 위해 code_submission을 제거했다는 변경사항과 관련이 있습니다.
✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 28be8a4 and dd0d27a.

📒 Files selected for processing (2)
  • pyproject.toml
  • wacruit/src/database/migrations/versions/2025_12_31_2201-8f87f9c43aea_delete_code_submissions.py
🔇 Additional comments (1)
pyproject.toml (1)

33-33: sqladmin의 전이 의존성입니다.

python-multipart는 line 24의 sqladmin 0.16.0이 필요로 하는 의존성입니다. poetry.lock을 확인하면 sqladmin의 의존성에 python-multipart = "*"가 명시되어 있으므로, 이 의존성 추가는 정당합니다. 또한 ^0.0.6 버전 제약은 0.0.21까지의 패치 버전을 허용하므로 적절합니다.

다만 sqladmin이 이미 이 의존성을 제공하는데 pyproject.toml에 명시적으로 나열한 이유를 설명해주세요.

coderabbitai[bot]

This comment was marked as outdated.

@deveroskp deveroskp force-pushed the fix/120-submission-warning branch from 348fd2b to 3b6116d Compare January 1, 2026 19:27
@deveroskp
Copy link
Contributor Author

제가 착각했네요... 마이그레이션 파일 작성할 필요가 없군요 😢

@deveroskp deveroskp merged commit 8a45a89 into develop Jan 2, 2026
3 checks passed
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.

[FIX] 서버 실행시 뜨는 경고 해결

3 participants