Project

General

Profile

« Previous | Next » 

Revision 2559

sql.py: not_null_col: Changed value to 'not_null_col' so that column doesn't seem like a status indicator of whether some value is not null (in fact it's just a column that is always not null)

View differences:

lib/sql.py
726 726
    '''Assumed to be first column in table'''
727 727
    return table_cols(db, table, recover)[0]
728 728

  
729
not_null_col = 'not_null'
729
not_null_col = 'not_null_col'
730 730

  
731 731
def table_not_null_col(db, table, recover=None):
732 732
    '''Name assumed to be the value of not_null_col. If not found, uses pkey.'''

Also available in: Unified diff