Discourse appears to be broken with Postgres 10

There was a similar issue with the sequel gem recently, which was fixed by this commit: Make Database#reset_primary_key_sequence work on PostgreSQL 10+ · jeremyevans/sequel@8370980 · GitHub. Likely the same kind of fix would need to be done on seed-fu.