Don't run db:schema:load on every deploy

- Capture query output and convert it to int before comparison