fix: author_id에 이메일/IP 저장 지원

- author_id 컬럼 타입을 감지해 text면 이메일/아이피 저장
- 스키마 지정(DB_SCHEMA) 및 컬럼 자동 감지로 운영 DB 호환 강화

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dsyoon
2026-02-08 11:50:08 +09:00
parent 7df7c35434
commit 7d0c3393d1
2 changed files with 178 additions and 6 deletions

View File

@@ -39,6 +39,8 @@ TABLE=news_link
```dotenv
PORT=8021
DB_SCHEMA=public
DEFAULT_AUTHOR_ID=1
DEFAULT_PAGE_SIZE=30
MAX_PAGE_SIZE=60
CACHE_TTL_SECONDS=3600