Fix: Correct ban migration logic

This commit is contained in:
gpt-engineer-app[bot]
2025-10-30 12:03:55 +00:00
parent e5de404e59
commit db101bc5f2
8 changed files with 509 additions and 52 deletions

View File

@@ -1952,6 +1952,7 @@ export type Database = {
Row: {
avatar_image_id: string | null
avatar_url: string | null
ban_expires_at: string | null
ban_reason: string | null
banned: boolean
bio: string | null
@@ -1984,6 +1985,7 @@ export type Database = {
Insert: {
avatar_image_id?: string | null
avatar_url?: string | null
ban_expires_at?: string | null
ban_reason?: string | null
banned?: boolean
bio?: string | null
@@ -2016,6 +2018,7 @@ export type Database = {
Update: {
avatar_image_id?: string | null
avatar_url?: string | null
ban_expires_at?: string | null
ban_reason?: string | null
banned?: boolean
bio?: string | null