docs(realtime): update REPLICA instruction

This commit is contained in:
Bobbie Soedirgo authored and GitHub committed 2020-08-13 09:53:10 +08:00
1 parent 274b413293
commit df78e3cfc0
1 file changed
+2 -2
+2 -2
View File
@@ -38,7 +38,7 @@ CREATE PUBLICATION supabase_realtime FOR ALL TABLES;
If you want to receive the old record (previous values) on `UPDATE` and `DELETE`, you can set the `REPLICA IDENTITY` to `FULL` like this:
```sql
ALTER TABLE your_table SET REPLICA IDENTITY = FULL;
ALTER TABLE your_table REPLICA IDENTITY FULL;
```
This has to be set for each table unfortunately.
This has to be set for each table.