Update pageLayout* data models for backend recordPageLayout refactor (#17446)

<img width="814" height="356" alt="Screenshot 2026-01-26 at 16 09 27"
src="https://github.com/user-attachments/assets/91d95a1d-cc33-4bf0-a63e-4d1815030983"
/>
This commit is contained in:
Weiko
2026-01-29 14:39:46 +01:00
committed by GitHub
parent 09de762285
commit 7d69000ab7
31 changed files with 194 additions and 9 deletions
@@ -59,6 +59,16 @@ export class PageLayoutEntity
})
tabs: Relation<PageLayoutTabEntity[]>;
@Column({ nullable: true, type: 'uuid' })
defaultTabToFocusOnMobileAndSidePanelId: string | null;
@ManyToOne(() => PageLayoutTabEntity, {
onDelete: 'SET NULL',
nullable: true,
})
@JoinColumn({ name: 'defaultTabToFocusOnMobileAndSidePanelId' })
defaultTabToFocusOnMobileAndSidePanel: Relation<PageLayoutTabEntity> | null;
@CreateDateColumn({ type: 'timestamptz' })
createdAt: Date;