Just removed the '_pk' in the 'cr_mime_types'. Realised this mistake after looking up the tables in psql.
thanks Jack