f62660952b
Deploy momo-erp / deploy (push) Successful in 1m54s
[원인] - db/migrations/009_items_user_permissions.sql 가 user_type<>'C' AND NOT IN (admin 7인) 사용자를 삭제하는 정리 쿼리를 포함 - user_type 'C' → 'U' 통합 이후 'U' 거래처 134명이 위 조건에 걸려 매 배포마다 통째로 삭제됨 (어제·오늘 두 번 사용자 관리에 거래처 0명) [수정] - 해당 DELETE 블록 통째로 주석 처리 — 마이그레이션은 idempotent 해야 하고 destructive 작업은 두지 않는다는 원칙 - 거래처 134명은 별도 복구 스크립트로 다시 INSERT (이 commit 직후) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>