We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 934abfa commit 763c267Copy full SHA for 763c267
sql/ydb/migrate.go
@@ -33,6 +33,7 @@ func (p *planApply) PlanChanges(
33
changes []schema.Change,
34
opts ...migrate.PlanOption,
35
) (*migrate.Plan, error) {
36
+ fmt.Printf("[PLAN CHANGES]")
37
state := &state{
38
conn: p.conn,
39
Plan: migrate.Plan{
@@ -229,6 +230,9 @@ func (s *state) modifyTable(modify *schema.ModifyTable) error {
229
230
}
231
232
233
+ fmt.Printf("[PLAN CHANGES] drop indexes %+v", dropIndexOps)
234
+ fmt.Printf("[PLAN CHANGES] add indexes %+v", addIndexOps)
235
+
236
// Drop indexes first, then alter table, then add indexes
237
if err := s.dropIndexes(modify, modify.T, dropIndexOps...); err != nil {
238
return err
0 commit comments