Add indexes to the export
@martin_teklia got faster queries by adding indexes on the foreign keys (who would have thought that indexes were important
Apparently there is no auto index created by sqlite, so they need to be declared manually.
It would be nice to have an indexes.sql
run at the end of the data creation