W6:变式自校验(verify)+严档(原题做对先换一道,变式做对才算)(267 测试)
This commit is contained in:
+2
-1
@@ -282,7 +282,8 @@ def _migrate(conn: sqlite3.Connection) -> None:
|
||||
"guardians": {"phone": "TEXT"},
|
||||
"papers": {"clean_path": "TEXT", "image_path": "TEXT"},
|
||||
# 小狮的形态与「今天喂过没有」要跨设备一致,所以落库(原来只在浏览器算出来)
|
||||
"children": {"pet_stage": "INTEGER NOT NULL DEFAULT 0", "pet_fed_at": "TEXT"},
|
||||
"children": {"pet_stage": "INTEGER NOT NULL DEFAULT 0", "pet_fed_at": "TEXT",
|
||||
"strict_variant": "INTEGER NOT NULL DEFAULT 0"},
|
||||
}
|
||||
for table, cols in want.items():
|
||||
ensure_columns(conn, table, cols)
|
||||
|
||||
Reference in New Issue
Block a user