0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/data/migrations/versions/3.0
Naz Gargol 99c6351feb
🐛 Fixed 3.0 migration for SQLite (#11270)
closes #11263

- Fixed `3.0/05-populate-posts-meta-table.js` migration failure when having >999 posts with metadata in the database
- The issue here is with hitting SQLite's internal SQLITE_LIMIT_VARIABLE_NUMBER limit when updating with a large amount of posts having metadata fields set (ref.: https://sqlite.org/limits.html#max_variable_number)
- Transforming migration to iterative method avoided inserting lots of records at once
2019-10-28 14:21:21 +01:00
..
01-remove-user-ghost-auth-columns.js Prefixed 3.0 migrations with 0 to preserve order 2019-09-16 13:21:39 +01:00
02-drop-token-auth-tables.js Prefixed 3.0 migrations with 0 to preserve order 2019-09-16 13:21:39 +01:00
03-drop-client-auth-tables.js Marked the client auth table drop migration as irreversible 2019-09-23 17:22:46 +01:00
04-add-posts-meta-table.js Prefixed 3.0 migrations with 0 to preserve order 2019-09-16 13:21:39 +01:00
05-populate-posts-meta-table.js 🐛 Fixed 3.0 migration for SQLite (#11270) 2019-10-28 14:21:21 +01:00
06-remove-posts-meta-columns.js Prefixed 3.0 migrations with 0 to preserve order 2019-09-16 13:21:39 +01:00
07-add-posts-type-column.js Prefixed 3.0 migrations with 0 to preserve order 2019-09-16 13:21:39 +01:00
08-populate-posts-type-column.js Prefixed 3.0 migrations with 0 to preserve order 2019-09-16 13:21:39 +01:00
09-remove-posts-page-column.js Prefixed 3.0 migrations with 0 to preserve order 2019-09-16 13:21:39 +01:00
10-remove-empty-strings.js Fixed error rolling back the "remove empty strings" migration 2019-09-18 16:08:18 +01:00
11-update-posts-html.js Added migration for re-generating html of all posts (#11133) 2019-09-16 17:44:00 +01:00
12-populate-members-table-from-subscribers.js Fixed subscribers migration to work without model (#11227) 2019-10-11 10:43:18 +01:00
13-drop-subscribers-table.js Removed superfluous space from filename 2019-10-17 16:58:46 +07:00
14-remove-subscribers-flag.js Added migration for subscriber labs flag 2019-10-17 16:58:46 +07:00