Migrates the database, and adds secrets.yml file back into config folder