From dfb533f5e32b6b3622874eb0e09df0fcb12e8024 Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Thu, 30 Jul 2020 10:35:48 +0800 Subject: [PATCH] chore: Fixing netlify build --- web/docs/library/subscribe.mdx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/web/docs/library/subscribe.mdx b/web/docs/library/subscribe.mdx index 36c033fdca6..dc0960ac4e7 100644 --- a/web/docs/library/subscribe.mdx +++ b/web/docs/library/subscribe.mdx @@ -33,7 +33,9 @@ We will be using these tables as reference for our examples. jsHighlight="{8}" /> -Note, if you want to receive the "previous" data for updates and deletes, +
+ +If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;` @@ -45,7 +47,9 @@ you will need to set `REPLICA IDENTITY` to `FULL`, like this: jsHighlight="{8}" /> -Note, if you want to receive the "previous" data for updates and deletes, +
+ +If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;` @@ -65,7 +69,9 @@ you will need to set `REPLICA IDENTITY` to `FULL`, like this: jsHighlight="{9-11}" /> -Note, if you want to receive the "previous" data for updates, +
+ +If you want to receive the "previous" data for updates, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;` @@ -77,7 +83,9 @@ you will need to set `REPLICA IDENTITY` to `FULL`, like this: jsHighlight="{9-11}" /> -You will not be able to delete data from your database unless you set your set your table to use FILL `REPLICA IDENTITY`, like this: +
+ +You will not be able to delete data from your database unless you set your set your table to use FULL `REPLICA IDENTITY`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`