sql增加tenant_id
This commit is contained in:
		
							parent
							
								
									f772514283
								
							
						
					
					
						commit
						a8710891bf
					
				| 
						 | 
					@ -1,10 +0,0 @@
 | 
				
			||||||
-- 商家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;
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue