[P1] [DB] 공개용/작업용 seat_positions 스키마 불일치 정리 #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
문제
공개용 DB와 작업용 DB의
seat_positions스키마가 서로 다릅니다.현재 확인된 차이:
seat_positionsmember_idxyfloor_labelupdated_atseat_map_idrow_indexcol_indexseat_labelseat_slot_idseat_positionsmember_idseat_map_idseat_slot_idrow_indexcol_indexseat_labelupdated_at영향
seat_positions단계에서 실패함해야 할 일
seat_positions스키마 기준을 통일seat_positions에서 실패하지 않도록 보장완료 조건
seat_positions단계에서 실패하지 않을 것2026-03-30 정리
이번 작업에서
seat_positions스키마 불일치 대응을 코드/운영 절차 기준으로 정리했습니다.반영 내용:
backend/app/db.pyseat_positions스키마에 남아 있을 수 있는x,y,floor_label기준 데이터를 현재 컬럼 구조로 흡수하는 migration 경로 유지scripts/sync_prod_db_to_dev.shseat_positions는 portable CSV 경로로 별도 export/import 하도록 유지seat_positions단계에서 스키마 차이로 실패하지 않도록 보강./scripts/sync_prod_db_to_dev.sh minimal실행 완료members=227seat_maps=21seat_slots=57308seat_positions=0seat_label_mismatch=0현재 판단:
seat_positions스키마 차이로 인한 sync 실패 문제는 정리된 상태로 본다.