protected function variableTypeFromDbType($strDbType)
    {
        switch ($strDbType) {
            case Database\FieldType::BIT:
                return Type::BOOLEAN;
            case Database\FieldType::BLOB:
                return Type::STRING;
            case Database\FieldType::CHAR:
                return Type::STRING;
            case Database\FieldType::DATE:
                return Type::DATE_TIME;
            case Database\FieldType::DATE_TIME:
                return Type::DATE_TIME;
            case Database\FieldType::FLOAT:
                return Type::FLOAT;
            case Database\FieldType::INTEGER:
                return Type::INTEGER;
            case Database\FieldType::TIME:
                return Type::DATE_TIME;
            case Database\FieldType::VAR_CHAR:
                return Type::STRING;
            case Database\FieldType::JSON:
                return Type::STRING;
            default:
                throw new \Exception("Invalid Db Type to Convert: $strDbType");
        }
    }