0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data/migrations/versions
Rishabh Garg 169daead1f
Fixed post meta migration for 3.x (#11438)
no issue

Since we added `email_subject` to `posts_meta` table in `3.1`, the migration tries to add `email_subject` column from post table, which does not exist and thus tries adding `undefined` value for column. Since sqlite expects default values while inserting new columns, this breaks any migration directly from `1.x`/`2.x` to 3.x.

The fix adds a default `null` value for any post_schema entry which doesn't has a value.
2019-12-17 17:14:53 +05:30
..
1.3
1.4
1.5
1.7 Removed all clients and client_trusted_domains related code 2019-09-12 15:09:49 +01:00
1.9
1.13
1.18
1.19
1.20
1.21
1.22
1.25
2.0 Updated post model queries to raw knex queries (#11246) 2019-10-17 10:36:18 +05:30
2.2 Fixed "Unable to update nested relation" errors when rolling back migrations 2019-08-20 11:20:52 +01:00
2.3
2.6
2.8
2.13 💡Reverted "empty-string to NULL" db migration (#10430) 2019-01-29 14:41:04 +00:00
2.14 Added permissions for actions including migration 2019-02-06 18:59:09 +01:00
2.15 Added migration to insert builtin Zapier integration (#10500) 2019-02-15 14:48:21 +00:00
2.16 Removed 2.16 member permission migration 2019-05-02 17:31:38 +02:00
2.17 Checked null & undefined in settings migration (#10609) 2019-03-13 23:35:23 +01:00
2.18 Enhanced 2.18 detection (#10610) 2019-03-13 23:40:50 +01:00
2.21 Added notification access persmission for users of Editor role 2019-04-18 13:02:23 +02:00
2.22 Copied member permission migration from 2.16->2.22 2019-05-02 17:31:38 +02:00
2.27 Updated post model queries to raw knex queries (#11246) 2019-10-17 10:36:18 +05:30
2.28 Fixed "Unable to update nested relation" errors when rolling back migrations 2019-08-20 11:20:52 +01:00
2.29 🐛 Fixed migration path from pre 2.28.x to 3.0.0 (#11268) 2019-10-28 12:02:16 +01:00
2.31 Removed name and password columns from members table 2019-09-05 11:14:50 +08:00
2.32 🐛 Fixed error when during migration to 2.32.0 on mysql (#11208) 2019-10-08 11:07:29 +01:00
2.33 🐛 Fixed error when during migration to 2.32.0 on mysql (#11208) 2019-10-08 11:07:29 +01:00
2.34 Moved migrations from 3.0 to 2.34 2019-10-09 16:24:51 +07:00
2.35 Added migration for note column on members table 2019-10-10 17:51:46 +07:00
2.37 Added new member subscription settings (#11240) 2019-10-14 16:58:15 +05:30
3.0 Fixed post meta migration for 3.x (#11438) 2019-12-17 17:14:53 +05:30
3.1 Added email.error_data column migration 2019-11-22 16:44:10 +00:00
3.2 Added member's subscription cancellation helper {{cancel_link}} (#11434) 2019-12-12 19:59:15 +07:00