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 Switched to util for retrieving DB info in migrations 2022-03-02 15:05:55 +01:00
4.1 Switched to util for retrieving DB info in migrations 2022-03-02 15:05:55 +01:00
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 Switched to util for retrieving DB info in migrations 2022-03-02 15:05:55 +01:00
4.22
4.23
4.33 Added note for using id as slug for free tier 2022-03-11 18:08:47 +05:30
4.34
4.35 Switched to util for retrieving DB info in migrations 2022-03-02 15:05:55 +01:00
4.36
4.37 Switched to util for retrieving DB info in migrations 2022-03-02 15:05:55 +01:00
4.38 Switched products.visible for products.visibility (#14264) 2022-03-04 11:07:38 +00:00
4.39 Migrated visibility column from portal settings (#14253) 2022-03-07 11:38:39 +00:00
4.40 Enabled Admin integration for tiers and offers API (#14325) 2022-03-16 16:46:26 +05:30
4.42 Updated migration eslint rule to catch bad filenames 2022-04-05 11:50:39 +01:00
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