0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/core
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
..
client@14e2178e22 Updated Ghost-Admin to 3.1.1 2019-12-04 20:39:08 +07:00
frontend Added member's subscription cancellation helper {{cancel_link}} (#11434) 2019-12-12 19:59:15 +07:00
server Fixed post meta migration for 3.x (#11438) 2019-12-17 17:14:53 +05:30
shared/nql-map-key-values 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
test Fixed tests 2019-12-17 16:42:30 +05:30
index.js Changed where we trigger server start/stop announcement (#9815) 2018-08-22 13:28:31 +02:00