给MySQL数据表加入uuid

alter table table_name add column uuid VARCHAR(255) default "0"

update table_name set uuid = UUID();

posted @ 2018-03-29 09:18  kingrain  阅读(885)  评论(0编辑  收藏  举报