-- 商家id alter table merc_merchant add tenant_id bigint not null comment '商家id'; -- 商家id alter table device_info add tenant_id bigint not null comment '商家id'; update merc_merchant set tenant_id = 378915229716713472; update device_info set tenant_id = 378915229716713472;