feat: 更新为null处理

This commit is contained in:
aborn 2023-02-10 20:01:16 +08:00
parent b8ff159b31
commit ef4fb94df7
1 changed files with 4 additions and 0 deletions

View File

@ -26,3 +26,7 @@ select distinct domainKey from MetaInfo;
# 修改字段长度 (修改表user中字段name的长度为50)
alter table user modify column name varchar(50);
# 更新字段为null的值为新值
update mp_markdown_meta set post_time='1970-01-01 00:00:00' where isnull(post_time) ;