#NEWLINE# def _db_positive_type_for_alter_column( self , klass , field ) : #NEWLINE# #INDENT# '\n        A helper for subclasses overriding _db_type_for_alter_column:\n        Remove the check constraint from the type string for PositiveInteger\n        and PositiveSmallInteger fields.\n        @param klass: The type of the child (required to allow this to be used when it is subclassed)\n        @param field: The field to generate type for\n        ' #NEWLINE# super_result = super ( klass , self ) . _db_type_for_alter_column ( field ) #NEWLINE# if isinstance ( super_result , ( models . PositiveSmallIntegerField , models . PositiveIntegerField ) ) : #NEWLINE# #INDENT# return super_result . split ( ' ' , 1 ) [ 0 ] #NEWLINE# #UNINDENT# return super_result