What would cause Postgres to lose track of the next ID, and how could I fix it?

前端 未结 0 796
青春惊慌失措
青春惊慌失措 2021-01-05 08:30

I mysteriously got an error in my Rails app locally:

PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "users_pkey"
DETAIL         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题