当新表存在字段约束为 NOT NULL,而旧表不存在该字段时,导致旧数据 restore 失败,进而导致数据被清除
jefshi opened this issue · 3 comments
jefshi commented
如题,报错信息为旧数据 restore 时,执行 REPLACE INTO * SELECT * 时,SQLite 提示字段值不能为 NULL
jefshi commented
已经解决了,并 commit 和 pull requests
jefshi commented
如果新表字段约束为 UNIQUE 时,仍然可能导致的旧数据 restore 的SQL执行失败
yuweiguocn commented
非常感谢