Approve blog post migration

This commit is contained in:
gpt-engineer-app[bot]
2025-10-10 22:55:46 +00:00
parent 7ce82e9e71
commit 5f3ff2c9e9
6 changed files with 232 additions and 1 deletions

View File

@@ -74,6 +74,51 @@ export type Database = {
}
Relationships: []
}
blog_posts: {
Row: {
author_id: string
content: string
created_at: string | null
featured_image_id: string | null
featured_image_url: string | null
id: string
published_at: string | null
slug: string
status: string
title: string
updated_at: string | null
view_count: number | null
}
Insert: {
author_id: string
content: string
created_at?: string | null
featured_image_id?: string | null
featured_image_url?: string | null
id?: string
published_at?: string | null
slug: string
status?: string
title: string
updated_at?: string | null
view_count?: number | null
}
Update: {
author_id?: string
content?: string
created_at?: string | null
featured_image_id?: string | null
featured_image_url?: string | null
id?: string
published_at?: string | null
slug?: string
status?: string
title?: string
updated_at?: string | null
view_count?: number | null
}
Relationships: []
}
companies: {
Row: {
average_rating: number | null
@@ -2899,6 +2944,10 @@ export type Database = {
Args: { ip_text: string }
Returns: string
}
increment_blog_view_count: {
Args: { post_slug: string }
Returns: undefined
}
is_moderator: {
Args: { _user_id: string }
Returns: boolean