migrations: Update postgres exporter queries for dirty database
Created by: efritz
We no longer have a source of truth of the database state in the *schema_migrations
tables. This updates the postgres exporter queries to look, at the new migration_logs
table to determine if a schema is dirty or not.