diff --git a/src/data/db.ts b/src/data/db.ts index 948b20e..7468a1c 100644 --- a/src/data/db.ts +++ b/src/data/db.ts @@ -63,7 +63,7 @@ export const upsertNote = (note: Note) => { did, rkey ) - VALUES (?, ?, ?, ?, ?, ?) + VALUES (?, ?, ?, ?, ?) ON CONFLICT(did, rkey) DO UPDATE SET title = excluded.title,