게시판 유형 삭제

This commit is contained in:
koreacomp5
2025-11-02 03:12:42 +09:00
parent 0bf18968ad
commit d057ebef4a
8 changed files with 16 additions and 34 deletions

View File

@@ -24,10 +24,6 @@ enum BoardStatus {
archived
}
enum BoardType {
general
special
}
enum AccessLevel {
public // 비회원도 접근
@@ -128,7 +124,6 @@ model Board {
description String?
sortOrder Int @default(0)
status BoardStatus @default(active)
type BoardType @default(general) // 일반/특수
requiresApproval Boolean @default(false) // 게시물 승인 필요 여부
allowAnonymousPost Boolean @default(false) // 익명 글 허용
allowSecretComment Boolean @default(false) // 비밀댓글 허용
@@ -156,7 +151,6 @@ model Board {
updatedAt DateTime @updatedAt
@@index([status, sortOrder])
@@index([type, requiresApproval])
@@index([categoryId])
@@index([mainPageViewTypeId])
@@index([listViewTypeId])