관리형 사이트 백업·복원, 서버 이전, 소유권 이전, 중지·해지·보존 생명주기와 운영 사이트 수 반환 (§14·§19~§23)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
zzabisagent-lab
2026-10-26 11:43:21 +00:00
co-authored by Claude Fable 5.1
parent c397452acd
commit a014e3cd05
24 changed files with 1674 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
/**
* portal/relocation/model.mjs — 서버 이전 영역 추가 열.
* relocations.precheck_json 시작 때 찍은 조건 스냅샷(전환 직전에 다시 비교 §21.2)
* relocations.hal_job_id HAL site.relocate 작업 id
* relocations.old_retained_until 이전 위치 보존 종료 시각
* relocations.charged 고객 과금 여부(플랫폼 사유 이전은 0 §21.2)
*/
export const MIGRATIONS = [{ id: 'relocation_0001', sql: `
ALTER TABLE relocations ADD COLUMN precheck_json TEXT;
ALTER TABLE relocations ADD COLUMN hal_job_id TEXT;
ALTER TABLE relocations ADD COLUMN old_retained_until TEXT;
ALTER TABLE relocations ADD COLUMN charged INTEGER NOT NULL DEFAULT 0;
ALTER TABLE relocations ADD COLUMN notices_json TEXT;
` }];