Skip to content

Commit dd8a3b6

Browse files
authored
fix: Update migration to skip unique constraint changes (#16481)
#### Summary Update migration to skip unique constraint changes
1 parent 44e3174 commit dd8a3b6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

plugins/destination/sqlite/client/migrate.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ func (*Client) canAutoMigrate(changes []schema.TableColumnChange) bool {
120120
if change.Previous.PrimaryKey || change.Previous.NotNull {
121121
return false
122122
}
123+
case schema.TableColumnChangeTypeRemoveUniqueConstraint:
124+
continue
123125
default:
124126
return false
125127
}

0 commit comments

Comments
 (0)