Revision 5813
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_io.py | ||
---|---|---|
214 | 214 |
if sql.table_exists(db, errors_table_, cacheable=False): return |
215 | 215 |
|
216 | 216 |
typed_cols = [ |
217 |
sql_gen.TypedCol('column', 'text', nullable=False),
|
|
217 |
sql_gen.TypedCol('column', 'text'), |
|
218 | 218 |
sql_gen.TypedCol('value', 'text'), |
219 | 219 |
sql_gen.TypedCol('error_code', 'character varying(5)', nullable=False), |
220 | 220 |
sql_gen.TypedCol('error', 'text', nullable=False), |
Also available in: Unified diff
sql_io.py: mk_errors_table(): Made "column" column nullable, because some errors (such as check constraint violations) don't have any corresponding columns if its columns weren't provided in the input data