Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

글 테이블(write)에 변경시간 저장 테이블 추가 제안 #227

Open
kkigomi opened this issue Apr 4, 2023 · 1 comment
Open

Comments

@kkigomi
Copy link
Contributor

kkigomi commented Apr 4, 2023

글, 댓글, 답글(이하 '글'로 통일)이 저장되는 {prefix}_write_{bo_table} 테이블에 글이 수정된 데이터를 포함하고있지 않습니다.

wr_last 필드는 답글 또는 댓글이 가장 마지막(최근)에 작성된 시간으로 갱신되며, 마지막 댓글이 삭제되면 과거 시간으로 돌아갈 수 있습니다.

wr_last는 글이 변경된 것을 확인하는데 사용할 수 없으며 이 외에 글의 변경 시간을 확인할 수 있는 방법이 없습니다.

글 변경시간은 검색엔진에 컨텐츠 업데이트 정보를 제공하거나 cache 등에 활용될 수 있으며, 글이 작성된 후 변경되었는지 표시하거나 확인하는데 사용할 수도 있습니다.

  • 글을 작성할 때 작성시간과 동일한 시간으로 저장
  • 글을 수정할 때 새로운 시간으로 갱신

간단한 로직으로 추가할 수 있을 것 같네요.

@thisgun
Copy link
Contributor

thisgun commented May 11, 2023

안녕하세요. SIR 입니다.

의견 주셔서 감사합니다.

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

No branches or pull requests

2 participants