Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit c8eb3c3

Browse files
author
alishakawaguchi
authored
Update new column addition strategies docs (#3457)
1 parent 932fd20 commit c8eb3c3

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

docs/docs/guides/new-column-addition-strategies.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ The algorithm works as follows:
5555
3. Based on the data type, generate a proper value that will fit within that column.
5656
4. If an unsupported data type is detected, halt the run.
5757

58+
## Passthrough
59+
60+
Passthrough mode is a strategy that allows Neosync to handle new columns found in source tables by setting them to passthrough. This means that any new columns detected in the source database will be included in the table sync and their values will be directly copied from the source to the destination without any transformation.
61+
62+
This strategy is useful when you want to reduce the need for manual updates to job mappings when new columns are added to the source database.
63+
64+
**Note:** It is recommended to use the init schema destination option with the passthrough strategy to ensure that the destination schema is always updated to match the source schema.
65+
5866
### Postgres
5967

6068
Postgres has many data types and not all of them are currently supported in the auto map mode. Support will continue to increase over time.
@@ -78,12 +86,12 @@ Postgres has many data types and not all of them are currently supported in the
7886
| varchar || GenerateString |
7987
| text || GenerateString |
8088
| bytea || |
81-
| timestamp | | |
82-
| timestamptz | | |
83-
| date | | |
84-
| time | | |
85-
| timetz | | |
86-
| interval | | |
89+
| timestamp | | |
90+
| timestamptz | | |
91+
| date | | |
92+
| time | | |
93+
| timetz | | |
94+
| interval | | |
8795
| boolean || GenerateBool |
8896
| point || |
8997
| line || |

0 commit comments

Comments
 (0)