I solved the problem. After I imported the dump from my 6.4 installation, I executed the migrations again. Shell into my app servers container and ran this CLI command:
bin/console database:migrate --all
I also re-index the data using the following command:
bin/console dal:refresh:index