Added updated_at index to the posts table (#20354)

ref https://linear.app/tryghost/issue/ONC-82
- added migration for adding a posts.updated_at index
This commit is contained in:
Steve Larson 2024-06-10 10:37:10 -05:00 committed by GitHub
parent 67d7aadcbe
commit 6dbbdfff49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,4 @@
// For information on writing migrations, see https://www.notion.so/ghost/Database-migrations-eb5b78c435d741d2b34a582d57c24253
const {createAddIndexMigration} = require('../../utils');
module.exports = createAddIndexMigration('posts',['updated_at']);