sql 增加 tenant_id

This commit is contained in:
sxu 2025-03-05 17:14:28 +08:00
parent a110d97b16
commit 63d0e24ace
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
-- 商家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;