Documentation
Content

Blog

Blog content model and admin management flow.

Post scheduling

GoLiveKit supports post scheduling. You can set a future Published at date when creating or editing a post, and its publication will be automatically postponed until that date.

Prisma model

Blog posts are stored in the Blog model (src/prisma/schema.prisma) with these core fields:

  • title
  • slug (unique)
  • shortDescription
  • content
  • imageUrl
  • published, publishedAt
  • authorId (required, relation to BlogAuthor)
  • tagId (optional, relation to BlogTag)
  • createdAt, updatedAt

Admin management

Blog posts are managed from the admin section and use FormBuilder for create/edit forms.

Key implementation files:

  • src/features/admin/blog/model/blog.schema.ts
  • src/features/admin/blog/components/blog-post-editor.tsx
  • src/features/admin/blog/components/blog-posts-table.tsx

Extending schema

If you need more blog fields, extend the Blog model in src/prisma/schema.prisma, then update:

  • Prisma migration
  • CreateBlogInputSchema / UpdateBlogInputSchema
  • Blog editor UI schema (Form Builder fields)
  • List/table mapping if the field must be visible in admin lists

On this page