create table user_role(uid int(11) not null comment "用户编号", rid int(11) not null comment "角色编号", primary key(uid, rid), key "FK_Reference_10" (rid), constraint "FK_Reference_10" foreign key (rid) references role (id), constraint "FK_Reference_13" foreign key (uid) references user (id)) engine=InnoDB default charset=utf8;
慕圣7574856
相关分类