Discourse appears to be broken with Postgres 10

there is already PR for seed-fu pending Support PostgreSQL 10 by ppworks · Pull Request #121 · mbleigh/seed-fu · GitHub

Just tested it here and the rake tasks complete again.