feature/v2-unified-renewal #379

Merged
kjs merged 145 commits from feature/v2-unified-renewal into main 2026-02-03 12:11:19 +09:00
3 changed files with 2 additions and 5 deletions
Showing only changes of commit 12128f278c - Show all commits

View File

@ -4334,11 +4334,10 @@ export class ScreenManagementService {
throw new Error("이 화면의 레이아웃을 저장할 권한이 없습니다.");
}
// 버전 정보 추가
// 버전 정보 추가 (updatedAt은 DB 컬럼 updated_at으로 관리)
const dataToSave = {
version: "2.0",
...layoutData,
updatedAt: new Date().toISOString()
...layoutData
};
// UPSERT (있으면 업데이트, 없으면 삽입)

View File

@ -971,6 +971,5 @@ export function saveLayoutV2(components: Array<ComponentV2 & { config?: Record<s
return {
version: "2.0",
components: components.map(saveComponentV2),
updatedAt: new Date().toISOString(),
};
}

View File

@ -136,7 +136,6 @@ export function convertLegacyToV2(legacyLayout: LegacyLayoutData): LayoutV2 {
return {
version: "2.0",
components,
updatedAt: new Date().toISOString(),
};
}