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
Kevin Ansfield 752c1022f9 🐛 Fixed failing migration from <2.34 to 3.29
closes https://github.com/TryGhost/Ghost/issues/12129

Migrations were failing when upgrading from a version that didn't include stripe member subscriptions table. The `up` migration was checking for the existence of a unique index that was added to the schema in 3.29 but it was using the wrong variable name which meant that it would never return true for an existing index. For most migrations this worked because the index existed but when through 2.34 the table was created from scratch and did included the index at that point.

- fixed variable name and re-ordered variable assignment for better code locality that would have made the typo more visible
2020-08-17 18:31:00 +01:00
..
1.3 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
1.4 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
1.5 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
1.7
1.9 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
1.13 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
1.18 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
1.19 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
1.20 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
1.21 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
1.22 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
1.25 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.0 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.2 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.3 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.6 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.8 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.13
2.14 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.15 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.16
2.17 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.18 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.21 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.22 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.27 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.28 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.29 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.31
2.32
2.33 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.34 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.35
2.37 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
3.0 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
3.1 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
3.2
3.6 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
3.7 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
3.8
3.9 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
3.11 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
3.12 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
3.18 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
3.19 Added migration updating members from address with domain 2020-06-08 23:47:02 +05:30
3.22 Hardened members subscription migration against missing data (#12009) 2020-07-06 12:18:13 +02:00
3.23 Added new meta columns to tags table 2020-07-08 11:49:22 +02:00
3.24 Added migration to update group for new portal settings 2020-07-10 18:32:54 +05:30
3.25 Fixed version for amp_gtag_id setting migration 2020-07-15 15:33:37 +02:00
3.26 Fixed version for amp_gtag_id setting migration 2020-07-15 15:33:37 +02:00
3.29 🐛 Fixed failing migration from <2.34 to 3.29 2020-08-17 18:31:00 +01:00