protected override void Generate(RenameIndexOperation operation, IModel model, RelationalCommandListBuilder builder)
 {
     throw new NotSupportedException(SqliteStrings.InvalidMigrationOperation);
 }
 public override void Generate(RenameIndexOperation operation, IModel model, SqlBatchBuilder builder)
 {
     throw new NotSupportedException(Strings.InvalidMigrationOperation);
 }
 protected override void Generate(RenameIndexOperation operation, IModel model, RelationalCommandListBuilder builder)
 {
 }
 protected override void Generate(RenameIndexOperation operation, IModel model, SqlBatchBuilder builder)
 {
 }
        protected override void Generate(
            RenameIndexOperation operation,
            IModel model,
            RelationalCommandListBuilder builder)
        {
            Check.NotNull(operation, nameof(operation));
            Check.NotNull(builder, nameof(builder));

            var qualifiedName = new StringBuilder();
            if (operation.Schema != null)
            {
                qualifiedName
                    .Append(operation.Schema)
                    .Append(".");
            }
            qualifiedName
                .Append(operation.Table)
                .Append(".")
                .Append(operation.Name);

            Rename(qualifiedName.ToString(), operation.NewName, "INDEX", builder);
        }