Updated trade_permits import script. Now it doesn't add duplicated permit numbers, so it's uses a different join to fill in the shipments table with the correct permits
Adding migrations to remove legacy_reporter_type and uniq_index in trade_permits table
Removed creation of indeces from trade_permits, that are no longer necessary
Misisng comma, and wrong column name
Constrain to permits that match the number on the import table
Set the index to be actually unique
Trying a different query, to see if this speeds things up
Adding timestamp to give an idea of how long things take