-
解决postgresql 自增id作为key重复的问题
啥也不说啦,看代码吧~SELECT setval(‘data_tracking_au_sec_id_seq', (SELECT MAX(id) FROM data_tracking_au_sec)+1);data_tracking
啥也不说啦,看代码吧~SELECT setval(‘data_tracking_au_sec_id_seq', (SELECT MAX(id) FROM data_tracking_au_sec)+1);data_tracking