Skip to content

[DB] comments 테이블 설계 #18

Description

@HyeYeonLee0112

목적

게시글 댓글을 저장할 comments 테이블을 설계한다.

작업 내용

  • comments 테이블을 만든다.
  • content 컬럼을 추가한다.
  • post_id 외래키를 추가한다.
  • author_id 외래키를 추가한다.
  • created_at, updated_at 컬럼을 추가한다.
  • SQLAlchemy Comment 모델을 작성한다.

완료 기준

  • comments 테이블이 생성된다.
  • 댓글이 게시글과 작성자를 참조한다.

Activity

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

Metadata

Metadata

Labels

area:dbDatabase schema and data modelingenhancementNew feature or requestfeature:commentComment features

Type

No type

Fields

Priority

None yet

Start date

Jun 11, 2026

Target date

Jun 11, 2026

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions