有没有办法将现有的主键类型从int更改为serial而不删除表?我已经在表中有很多数据,我不想删除它.
postgresql primary-key auto-increment
auto-increment ×1
postgresql ×1
primary-key ×1