o2o-infinith-backend/app/common/db
Mina Choi c23e620fb4 Merge branch 'db-migration': remote_source + raw_info 통합 스키마
- common/db.py 단일 파일 → common/db/ 패키지로 분리 (hospital/source/run/market/file_data)
- 모든 채널 데이터를 raw_info 단일 테이블로 통일 (hospital_baseinfo.raw_data / 채널별 *_data 테이블 제거)
- 부가 채널(tiktok/instagram_en/facebook_en/kakaotalk/naver_cafe)도 remote_source+raw_info 로 일원화
  - EN 채널은 같은 source_type + language='EN' 으로 구분, select_run_raw_data 가 합성키로 반환
- SourceType.BRANDING 추가 — brand_assets/channel_logos 결과를 하나의 raw_info entry 에 머지
- collect.collect_all: main wave gather → branding 2단계 순차 실행
- mock_urls 매칭 + _with_scheme 보정 유지

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-01 16:57:08 +09:00
..
__init__.py Merge branch 'db-migration': remote_source + raw_info 통합 스키마 2026-06-01 16:57:08 +09:00
base.py db migration done 2026-06-01 15:31:33 +09:00
file_data.py db migration done 2026-06-01 15:31:33 +09:00
hospital.py db migration done 2026-06-01 15:31:33 +09:00
market.py db migration done 2026-06-01 15:31:33 +09:00
run.py db migration done 2026-06-01 15:31:33 +09:00
source.py Merge branch 'db-migration': remote_source + raw_info 통합 스키마 2026-06-01 16:57:08 +09:00