Database to v4: split off symbol_locations table.
Finish database insertion, except for origins.