zotero/test
Dan Stillman 5b9e6497af Schema integrity check improvements
- Create userdata tables and indexes that are missing
- Delete tables and triggers that should no longer exist
- Run schema integrity check before user data migration
- Run schema integrity check after restart error

This is meant to address two problems:

1) Database damage, and subsequent use of the DB Repair Tool, that
   results in missing tables

2) A small number of cases of schema update steps somehow not being
   reflected in users' databases despite their having updated userdata
   numbers, which are set within the same transaction. Until we figure
   out how that's happening, we should start adding conditional versions
   of schema update steps to the integrity check.

This is currently only running the update check after a restart error,
which might not occur for all missed schema update steps, so we might
want other triggers for calling setIntegrityCheckRequired().
2020-11-16 18:13:48 -05:00
..
components Add -e flag to runtests.sh to stop tests after a given file 2017-06-20 05:48:38 -04:00
content Don't try to include jquery.js in tests HTML page 2020-02-11 00:23:45 -05:00
resource Update httpd.js to Fx60 version 2019-08-27 05:30:11 -04:00
tests Schema integrity check improvements 2020-11-16 18:13:48 -05:00
chrome.manifest
install.rdf Update maxVersion 2015-10-29 03:57:08 -04:00
runtests.sh Fix runtest.sh linux firefox executable path 2020-06-18 16:10:12 +03:00