增加字段'role'用来区分主从,0主,1从