Posts id type fix for postgres