Closed mrbellek closed 4 years ago
This is probably redundant after changing it so that the scraper should run first (inserting new games) and the csv import after that. Still, the edge case should be handled, and the user should be informed that the scraper runs before the csv import.
New games are automatically assigned negative id values (starting with -1) until you manually give them the correct TA game id. If there's newly imported games present when importing more new games, there's a 'duplicate id' error. We need to automatically get the first available negative id during an import and use that, instead of hardcoding -1.