You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: type_conversion.go
    path of file: ./repos/acra/decryptor/mysql
    
    the code of the file until where you have to start completion: package mysql

import (
	"github.com/sirupsen/logrus"

	"github.com/cossacklabs/acra/decryptor/base"
	"github.com/cossacklabs/acra/decryptor/base/type_awareness"
	base_mysql "github.com/cossacklabs/acra/decryptor/mysql/base"
	"github.com/cossacklabs/acra/encryptor/config"
	"github.com/cossacklabs/acra/encryptor/config/common"
)

// TypeConfiguration represent configurations details of specific type
type TypeConfiguration struct {
	// https://dev.mysql.c
    
func updateFieldEncodedType(field *ColumnDescription, schemaStore config.TableSchemaStore) {
	tableSchema := schemaStore.GetTableSchema(string(field.Table))
	if tableSchema == nil {
		return
	}

	if setting := tableSchema.GetColumnEncryptionSettings(string(field.Name)); setting != nil {
		newFieldType, ok := mapEncryptedTypeToField(setting.GetDBDataTypeID())
		if ok {
			fieldConfig, fieldConfigExist := TypeConfigurations[base_mysql.Type(newFieldType)]
			if !fieldConfigExist {
				logrus.WithField("field-type", base_mysql.Type(newFieldType)).Debug("No appropriate type configuration")
				return
			}

			field.originType = field.Type
			field.Type = base_mysql.Type(newFieldType)
			field.changed = true

			field.Charset = fieldConfig.Charset
			field.ColumnLength = fieldConfig.ColumnLength
			field.Decimal = fieldConfig.Decimal

			if field.Flag.ContainsFlag(BlobFlag) {
				// during the TypeAwareness type transformation we need to remove the BlobFlag if the type was change to
				// some specific types: TypeLong, TypeLongLong, TypeString
				for _, fieldType := range specificTypes {
					if uint16(fieldType) == uint16(newFieldType) {
						field.Flag.RemoveFlag(BlobFlag)
						return
					}
				}
			}
		}
	}
}