dir.up do
        row_format = to_options.fetch(:row_format, DEFAULT_TARGET_ROW_FORMAT)
        character_set = to_options.fetch(:character_set)
        collation = to_options.fetch(:collation, ENCODING_COLLATIONS[character_set])
        alter_encoding(table, row_format, character_set, collation)