mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-28 03:00:29 -04:00
fix(starter): updated table variable names in schema.ts to match actual supabase table names
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user