Added posts.updated_at index to schema (#20357)

ref 6dbbdff
- added index to schema
This commit is contained in:
Steve Larson 2024-06-10 11:35:21 -05:00 committed by GitHub
parent 14afe23d7e
commit 3c247d93fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ module.exports = {
* This is valid for all x_by fields.
*/
created_by: {type: 'string', maxlength: 24, nullable: false},
updated_at: {type: 'dateTime', nullable: true},
updated_at: {type: 'dateTime', nullable: true, index: true},
updated_by: {type: 'string', maxlength: 24, nullable: true},
published_at: {type: 'dateTime', nullable: true, index: true},
published_by: {type: 'string', maxlength: 24, nullable: true},

View File

@ -35,7 +35,7 @@ const validateRouteSettings = require('../../../../../core/server/services/route
*/
describe('DB version integrity', function () {
// Only these variables should need updating
const currentSchemaHash = '7ad5a5720c29fab6b8cebb19da496935';
const currentSchemaHash = 'a04351620a75f14dfbd9158381df7f87';
const currentFixturesHash = 'a489d615989eab1023d4b8af0ecee7fd';
const currentSettingsHash = '5c957ceb48c4878767d7d3db484c592d';
const currentRoutesHash = '3d180d52c663d173a6be791ef411ed01';