Commit c6f18e8
authored
fix: run initial delete only when target version is unset (#103)
Use CurrentVersion < 0 instead of <= 1 so WHEN NOT MATCHED BY SOURCE
(initial delete) runs only for tables that have never been synced,
not for version 0 or 1.1 parent d9c01cd commit c6f18e8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| |||
0 commit comments