Get the import data command working for tables with no foreign keys