mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +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 |
||
---|---|---|
.. | ||
client@85784f4d21 | ||
frontend | ||
server | ||
shared | ||
index.js |