Commit 384bd86823e662c4b30868a65540cebc47353baa
1 parent
e60e729f
Exists in
yxb_dev
and in
2 other branches
no message
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/src/main/assets/migrations/1.sql
1 | ALTER table message add COLUMN test TEXT | 1 | ALTER table message add COLUMN test TEXT |
2 | -UPDATE message SET test = 'sql默认' WHERE tes t= NULL--试过了,执行了,但是没有结果,并没有更新数据库内容 | 2 | +UPDATE message SET test = 'sql默认' WHERE tes t= NULL--试过了,执行了,但是没有结果,并没有更新数据库内容,可以使用下面的语句代替 尽量不要使用注释 |
3 | +UPDATE message SET test = '' WHERE tes t= NULL | ||
3 | \ No newline at end of file | 4 | \ No newline at end of file |