feat: 数据库增量更新

This commit is contained in:
hzm
2026-02-18 10:28:36 +08:00
parent 8846fafc66
commit 3c02b53c0e
3 changed files with 196 additions and 88 deletions

View File

@@ -38,7 +38,8 @@ const createNoopSupabase = () => ({
},
from: () => createNoopTable(),
channel: () => createNoopChannel(),
removeChannel: () => { }
removeChannel: () => { },
rpc: async () => ({ data: null, error: { message: 'Supabase not configured' } })
});
export const supabase = isSupabaseConfigured ? createClient(supabaseUrl, supabaseAnonKey, {