diff --git a/examples/write-patterns/patterns/4-through-the-db/index.tsx b/examples/write-patterns/patterns/4-through-the-db/index.tsx index ca072b1d8c..1b3ec880a8 100644 --- a/examples/write-patterns/patterns/4-through-the-db/index.tsx +++ b/examples/write-patterns/patterns/4-through-the-db/index.tsx @@ -31,7 +31,7 @@ await pglite.electric.syncShapeToTable({ url: `${ELECTRIC_URL}/v1/shape`, table: 'todos', }, - shapeKey: 'todos', + shapeKey: 'p4_todos', table: 'p4_todos_synced', primaryKey: ['id'], }) @@ -110,7 +110,7 @@ function ThroughTheDB() {

- 4. Through the DB sync + 4. Through the DB