Google 계정 데이터 별칭 복구를 추가

This commit is contained in:
Yun Chan 2026-08-29 15:34:50 +09:00
parent 15f609368c
commit dba9b75a38
9 changed files with 642 additions and 30 deletions

View file

@ -147,6 +147,13 @@ async def healthcheck() -> bool:
SELECT
to_regclass('app.app_user') IS NOT NULL AS has_user,
to_regclass('app.auth_session') IS NOT NULL AS has_auth_session,
to_regclass('app.auth_identity_alias') IS NOT NULL AS has_auth_identity_alias,
EXISTS (
SELECT 1 FROM information_schema.columns
WHERE table_schema = 'app'
AND table_name = 'auth_session'
AND column_name = 'login_email'
) AS has_auth_session_login_email,
to_regclass('app.user_preferences') IS NOT NULL AS has_preferences,
EXISTS (
SELECT 1 FROM information_schema.columns
@ -210,6 +217,8 @@ async def healthcheck() -> bool:
row
and row["has_user"]
and row["has_auth_session"]
and row["has_auth_identity_alias"]
and row["has_auth_session_login_email"]
and row["has_preferences"]
and row["has_engine_config"]
and row["has_admin_health_event"]