github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/drop_column_with_index/data/db1.prepare.sql (about)

     1  drop database if exists `drop_column_with_index`;
     2  create database `drop_column_with_index`;
     3  use `drop_column_with_index`;
     4  create table t1 (c1 int, c2 int, c3 int);
     5  alter table t1 add index idx1(c1);
     6  alter table t1 add index idx2(c2);
     7  alter table t1 add index idx3(c3);
     8  alter table t1 add index idx23(c2, c3);
     9  alter table t1 add unique index uidx1(c1);
    10  alter table t1 add unique index uidx2(c2);