mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
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:
parent
67d7aadcbe
commit
6dbbdfff49
1 changed files with 4 additions and 0 deletions
|
@ -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']);
|
Loading…
Add table
Reference in a new issue