I had a table called pivot_device_user
and had a sequence on the id as not null default nextval('pivot_device_user_id_seq'::regclass)
.
Then I decided to rename my table to pivot_box_user
, but the nextval(...)
is still nextval('pivot_device_user_id_seq'::regclass)
.
I'd like to change it to nextval('pivot_box_user_id_seq'::regclass)
. How do I do this?