Contains the db migration logic for the postgres db for BSD Listener