[Django]-PostgreSql Integer out of range error when inserting small numbers into integer fields

8👍

✅

Maybe the sequence has exceeded the max. value for an integer (2147483647). As a sequence is based on a bigint, this is possible.

You can test that using SELECT nextval('index_index_id_seq')

Leave a comment