We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 934abfa commit 0a78dfbCopy full SHA for 0a78dfb
sql/ydb/migrate.go
@@ -229,6 +229,16 @@ func (s *state) modifyTable(modify *schema.ModifyTable) error {
229
}
230
231
232
+ fmt.Printf("\n[PLAN CHANGES] drop indexes")
233
+ for _, op := range dropIndexOps {
234
+ fmt.Printf(" name=%v unique=%v,", op.I.Name, op.I.Unique)
235
+ }
236
+
237
+ fmt.Printf("\n[PLAN CHANGES] add indexes")
238
+ for _, op := range addIndexOps {
239
240
241
242
// Drop indexes first, then alter table, then add indexes
243
if err := s.dropIndexes(modify, modify.T, dropIndexOps...); err != nil {
244
return err
0 commit comments