Fix Postgres for bigint primary key.
Merge pull request #2502 from okinaka/fix-postgres-for-bigint-primary-key

Fix Postgres for bigint primary key.