mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 14:22:07 +03:00
752c1022f9
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 |
||
---|---|---|
.. | ||
01-remove-duplicate-subscriptions.js | ||
02-remove-duplicate-customers.js | ||
03-remove-orphaned-customers.js | ||
04-remove-orphaned-subscriptions.js | ||
05-add-member-constraints.js |