0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/server/data/migrations/versions
Simon Backx 366a7be36d 🐛 Fixed newsletters' header_image saved as absolute url (#14690)
refs https://github.com/TryGhost/Team/issues/1579

- When writing to the database, the header_image is tranformed to the transformReady path
- When reading from the database, the transformReady path is transformed to an absolute path
- Includes a test when adding a newsletter

Migration:
- Updates all newsletter who have a header_image to make sure it is saved in transform ready format
- Down operation is required to work with the old model logic and transforms it back to an absolute format
2022-05-05 09:44:03 +01:00
..
1.25 Added erroring migrations to the final minor of deleted majors 2022-04-28 15:37:10 +01:00
2.37 Added erroring migrations to the final minor of deleted majors 2022-04-28 15:37:10 +01:00
3.41 Added erroring migrations to the final minor of deleted majors 2022-04-28 15:37:10 +01:00
4.0
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.11
4.12
4.13
4.14
4.15
4.16
4.17
4.19
4.20
4.22
4.23
4.33
4.34
4.35
4.36
4.37
4.38
4.39
4.40
4.42
4.43 Added validations to table creation 2022-04-26 15:51:02 +01:00
4.44 Added offer_id column to members_stripe_customers_subscriptions (#14487) 2022-04-15 13:47:15 +02:00
4.45 Added version_notifications key to settings table 2022-04-21 20:34:19 +08:00
4.46 Fixed null values in settings default newsletter migration (#14638) 2022-05-02 12:16:58 +02:00
4.47 🐛 Fixed newsletters' header_image saved as absolute url (#14690) 2022-05-05 09:44:03 +01:00
5.0 Dropped nullable from members_subscribe_events.newsletter_id (#14656) 2022-05-03 16:30:07 +02:00