Disable creation of missing tables/indexes in Schema.integrityCheck()
Originally added in5b9e6497a
. We stopped running the integrity check before userdata upgrades inc4cc44528
because this new behavior was breaking upgrades, but it could still be run when coming from the DB Repair Tool, which could cause problems if, say, you recovered a database from a computer that had an older version of Zotero and ran the DB Repair Tool on it. Disabling this for now until we have a better solution.
This commit is contained in:
parent
43e6493997
commit
7a434df539
2 changed files with 8 additions and 1 deletions
|
@ -248,7 +248,7 @@ describe("Zotero.Schema", function() {
|
|||
});
|
||||
})
|
||||
|
||||
it("should repair a missing userdata table", async function () {
|
||||
it.skip("should repair a missing userdata table", async function () {
|
||||
await Zotero.DB.queryAsync("DROP TABLE retractedItems");
|
||||
assert.isFalse(await Zotero.DB.tableExists('retractedItems'));
|
||||
assert.isFalse(await Zotero.Schema.integrityCheck());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue