Refactor: Split user management migration

This commit is contained in:
gpt-engineer-app[bot]
2025-09-28 18:23:32 +00:00
parent 36aec284f4
commit 3daa920076
2 changed files with 10 additions and 2 deletions

View File

@@ -288,6 +288,7 @@ export type Database = {
Row: {
avatar_image_id: string | null
avatar_url: string | null
banned: boolean
bio: string | null
coaster_count: number | null
created_at: string
@@ -308,6 +309,7 @@ export type Database = {
Insert: {
avatar_image_id?: string | null
avatar_url?: string | null
banned?: boolean
bio?: string | null
coaster_count?: number | null
created_at?: string
@@ -328,6 +330,7 @@ export type Database = {
Update: {
avatar_image_id?: string | null
avatar_url?: string | null
banned?: boolean
bio?: string | null
coaster_count?: number | null
created_at?: string
@@ -775,7 +778,7 @@ export type Database = {
}
}
Enums: {
app_role: "admin" | "moderator" | "user"
app_role: "admin" | "moderator" | "user" | "superuser"
}
CompositeTypes: {
[_ in never]: never
@@ -903,7 +906,7 @@ export type CompositeTypes<
export const Constants = {
public: {
Enums: {
app_role: ["admin", "moderator", "user"],
app_role: ["admin", "moderator", "user", "superuser"],
},
},
} as const