Ghost/core/server/data/migrations
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
..
hooks Moved knex-migrator execution into Ghost 2018-08-16 12:13:24 +02:00
init 🎨 Added Koenig Demo Post (#9747) 2018-07-24 14:37:17 +02:00
versions Fixed post meta migration for 3.x (#11438) 2019-12-17 17:14:53 +05:30