mysql已有数据表增加自增主键

mysql:
alter table `tbname` add `id` bigint not null auto_increment first, add primary key (`id`);
posted @ 2023-04-27 10:31  甜菜波波  阅读(88)  评论(0编辑  收藏  举报