Revision 2727
Added by Aaron Marcuse-Kubitza over 12 years ago
bin/csv2db | ||
---|---|---|
121 | 121 |
sql.vacuum(db, table) |
122 | 122 |
|
123 | 123 |
log('Creating errors table') |
124 |
errors_table = table+'.errors'
|
|
124 |
errors_table = sql.errors_table(db, table, if_exists=False)
|
|
125 | 125 |
typed_cols = [ |
126 | 126 |
sql_gen.TypedCol('column', 'text NOT NULL'), |
127 | 127 |
sql_gen.TypedCol('value', 'text'), |
Also available in: Unified diff
csv2db: Use new sql.errors_table()