refactor: scripts 폴더를 connection-validation 으로 이름 변경

src 코드와 헷갈리지 않도록, DB·MinIO 연결 확인용 스크립트 폴더명을
scripts → connection-validation 으로 변경하고 package.json 경로를 갱신.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-01 17:45:44 +09:00
parent b64b1c31ec
commit 4511d017f5
3 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
// DB 연결 빠른 확인: `npm run db:check`
import { pingDb, pool } from "../src/db.js";
try {
console.log("DB OK:", await pingDb());
} catch (e) {
console.error("DB FAIL:", e.message);
process.exitCode = 1;
} finally {
await pool.end();
}