mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Added posts.updated_at index to schema (#20357)
ref 6dbbdff
- added index to schema
This commit is contained in:
parent
14afe23d7e
commit
3c247d93fe
@ -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},
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user