#NEWLINE# def is_unchanged_binary_column( self , column_diff ) : #NEWLINE# #INDENT# column_type = column_diff . column . get_type ( ) #NEWLINE# if ( column_type not in [ 'blob' , 'binary' ] ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if isinstance ( column_diff . from_column , Column ) : #NEWLINE# #INDENT# from_column = from_column_type . from_column #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# from_column = None #NEWLINE# #UNINDENT# if from_column : #NEWLINE# #INDENT# from_column_type = self . INTERNAL_TYPE_MAPPING [ from_column . get_type ( ) ] #NEWLINE# if ( from_column_type in [ 'blob' , 'binary' ] ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return ( len ( [ x for x in column_diff . changed_properties if ( x not in [ 'type' , 'length' , 'fixed' ] ) ] ) == 0 ) #NEWLINE# #UNINDENT# if column_diff . has_changed ( 'type' ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return ( len ( [ x for x in column_diff . changed_properties if ( x not in [ 'length' , 'fixed' ] ) ] ) == 0 )