Add blog schema with BlogPost entity and shop blog toggle.

Introduces blog_posts table and blogEnabled on shop_settings for optional storefront blog.
This commit is contained in:
2026-09-15 19:36:30 +02:00
parent 54ec6edd0d
commit 40bf16c03e
3 changed files with 48 additions and 0 deletions
@@ -32,6 +32,9 @@ export class ShopSettings {
@Column({ type: 'integer', nullable: true })
simplexNotificationContactId: number | null;
@Column({ type: 'boolean', default: false })
blogEnabled: boolean;
@CreateDateColumn()
createdAt: Date;