我有一个名为的表pivot_device_user,并且在 id 上有一个序列为not null default nextval('pivot_device_user_id_seq'::regclass).
然后我决定将我的表重命名为pivot_box_user,但nextval(...)仍然是nextval('pivot_device_user_id_seq'::regclass)。
我想把它改成nextval('pivot_box_user_id_seq'::regclass). 我该怎么做呢?