From 06c77e4af3201b75011ad47455e023b6d901a684 Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Mon, 15 Sep 2025 15:57:10 +0530 Subject: [PATCH] mention column added only after udpate --- features/schema-changes.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/schema-changes.mdx b/features/schema-changes.mdx index 4b45fef..7ff70d7 100644 --- a/features/schema-changes.mdx +++ b/features/schema-changes.mdx @@ -6,6 +6,6 @@ PeerDB's Postgres connector can detect schema changes in the source tables. For | Schema Change Type | Behaviour | | ----------------------------------------------------------------------------------- | ------------------------------------- | -| Adding a new column (`ALTER TABLE ADD COLUMN ...`) | Propagated automatically, all rows after the change will have all columns filled | -| Adding a new column with a default value (`ALTER TABLE ADD COLUMN ... DEFAULT ...`) | Propagated automatically, all rows after the change will have all columns filled but existing rows will not show the DEFAULT value without a full table refresh | +| Adding a new column (`ALTER TABLE ADD COLUMN ...`) | Propagated automatically once the table gets an insert/update/delete, all rows after the change will have all columns filled | +| Adding a new column with a default value (`ALTER TABLE ADD COLUMN ... DEFAULT ...`) | Propagated automatically once the table gets an insert/update/delete, all rows after the change will have all columns filled but existing rows will not show the DEFAULT value without a full table refresh | | Dropping an existing column (`ALTER TABLE DROP COLUMN ...`) | Detected, but not propagated. All rows after the change will have NULL for the dropped columns |