SSH into Vagrant. You need to have dumped database and created new database. Just replace credentials below:
psql -h hostname -d databasename -U username -f file.sql Copy