Updated default newsletter migration for created_at

refs https://ghost.slack.com/archives/C02G9E68C/p1650632604790259?thread_ts=1650619639.619819&cid=C02G9E68C

The new column needs to be included in the migration explicitly, since there is no default in the database (and we don't use the model).
This commit is contained in:
Simon Backx 2022-04-22 15:06:43 +02:00 committed by Matt Hanley
parent 50ab1e0d73
commit 69f31074e0

View File

@ -25,7 +25,8 @@ const newsletter = {
show_header_title: true,
show_header_name: false,
title_alignment: 'center',
title_font_category: 'sans_serif'
title_font_category: 'sans_serif',
created_at: new Date()
};
module.exports = createTransactionalMigration(