当尝试使用 Supabase 更新我的第一个表时,代码如下:
await db.from("welcome").update({visit_count: newCount});
得到错误:
{
"hint":"To enable updating the table, set REPLICA IDENTITY using ALTER TABLE.",
"details":null,"code":"55000",
"message":"cannot update table \"welcome\" because it does not have a replica identity and publishes updates"
}