Commit e6e65ee
committed
skip CSV columns that don't exist in the database
If no mapping is found, first row is used, but csv columns not found in
the DB are stripped out to prevent insert errors.
This is done only once, up at the top, and is only done if no mapping
is specified.1 parent 6ee1358 commit e6e65ee
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
163 | 171 | | |
164 | 172 | | |
165 | 173 | | |
| |||
0 commit comments