Files

3 lines
149 B
SQL
Raw Permalink Normal View History

2019-11-18 14:47:24 +08:00
alter table t_friend add column `_blacked` tinyint DEFAULT 0 COMMENT "0, normal; 1, blacked";
update t_friend set `_blacked` = 1 where `_state` = 2;