mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Added the frontmatter column to meta
issue https://github.com/TryGhost/Team/issues/452
This commit is contained in:
parent
905421b774
commit
2f547b2974
3 changed files with 10 additions and 2 deletions
|
@ -0,0 +1,7 @@
|
|||
const {createAddColumnMigration} = require('../../utils');
|
||||
|
||||
module.exports = createAddColumnMigration('posts_meta', 'frontmatter', {
|
||||
type: 'text',
|
||||
maxlength: 65535,
|
||||
nullable: true
|
||||
});
|
|
@ -73,7 +73,8 @@ module.exports = {
|
|||
twitter_description: {type: 'string', maxlength: 500, nullable: true},
|
||||
meta_title: {type: 'string', maxlength: 2000, nullable: true, validations: {isLength: {max: 300}}},
|
||||
meta_description: {type: 'string', maxlength: 2000, nullable: true, validations: {isLength: {max: 500}}},
|
||||
email_subject: {type: 'string', maxlength: 300, nullable: true}
|
||||
email_subject: {type: 'string', maxlength: 300, nullable: true},
|
||||
frontmatter: {type: 'text', maxlength: 65535, nullable: true}
|
||||
},
|
||||
users: {
|
||||
id: {type: 'string', maxlength: 24, nullable: false, primary: true},
|
||||
|
|
|
@ -32,7 +32,7 @@ const defaultSettings = require('../../../../core/server/data/schema/default-set
|
|||
*/
|
||||
describe('DB version integrity', function () {
|
||||
// Only these variables should need updating
|
||||
const currentSchemaHash = '801faa4e969102a3840191b19e339e55';
|
||||
const currentSchemaHash = '860fafa2fc5f78df158ddd8254d4993b';
|
||||
const currentFixturesHash = '370d0da0ab7c45050b2ff30bce8896ba';
|
||||
const currentSettingsHash = '162f9294cc427eb32bc0577006c385ce';
|
||||
const currentRoutesHash = '3d180d52c663d173a6be791ef411ed01';
|
||||
|
|
Loading…
Reference in a new issue