Bonus-Cloud-Houqin/sql/bns_houqin_202503_patch/20250305_add_tenent_id.sql

10 lines
295 B
SQL

-- 商家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;