fix(starter): updated table variable names in schema.ts to match actual supabase table names

This commit is contained in:
Waleed Latif
2025-02-19 12:59:24 -08:00
parent d5f102d419
commit 384b79ef8d
4 changed files with 15 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
import { db } from '@/db'
import { consoleLog } from '@/db/schema'
import { workflowLogs } from '@/db/schema'
export interface LogEntry {
id: string
@@ -11,5 +11,5 @@ export interface LogEntry {
}
export async function persistLog(log: LogEntry) {
await db.insert(consoleLog).values(log)
await db.insert(workflowLogs).values(log)
}