0f96c20f3c
- We were updating global schema before migrating userdata, but a 4 → 5
upgrade involved a system.sql version bump, which wiped out itemTypes,
causing 'annotation' to not exist after the upgrade. This moves global
schema updates after userdata migration and bumps the global schema
version to repair DBs that were already upgraded and broken.
- A system.sql bump without a global schema update would result in empty
tables. This moves the global-schema-related tables to userdata.sql.
- The DB integrity check before userdata updates added in
|
||
---|---|---|
.. | ||
global@97e0a8efa2 | ||
abbreviations.json | ||
connectorTypeSchemaData.js | ||
dateFormats.json | ||
engines.json | ||
renamed-styles.json | ||
repotime.txt | ||
system-107.sql | ||
system.sql | ||
triggers.sql | ||
userdata.sql |