update_251222.sql 478 B

12345678
  1. -- 商品添加参与vip优惠标识 0否 1是
  2. alter table goods add vip_promotion varchar(1) not null default 0 comment '是否参与vip优惠 0否 1是' after shop_id;
  3. -- 更新商品是否参与vip优惠
  4. update goods set vip_promotion = 1 where shop_id in (select shop_id from goods_shop where vip_promotion = '1')
  5. -- 会话内容添加撤回标识 0否 1是
  6. alter table chats_content add recall varchar(1) not null default 0 comment '是否撤回 0否 1是' after status;