mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
✨ Add new plaintext field (#8276)
refs #8275 - this PR only adds the field for now, so we can merge this along with other DB changes
This commit is contained in:
parent
4b49f39e55
commit
9b3c3943ef
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ module.exports = {
|
|||
mobiledoc: {type: 'text', maxlength: 1000000000, fieldtype: 'long', nullable: true},
|
||||
html: {type: 'text', maxlength: 1000000000, fieldtype: 'long', nullable: true},
|
||||
amp: {type: 'text', maxlength: 1000000000, fieldtype: 'long', nullable: true},
|
||||
plaintext: {type: 'text', maxlength: 1000000000, fieldtype: 'long', nullable: true},
|
||||
image: {type: 'string', maxlength: 2000, nullable: true},
|
||||
featured: {type: 'bool', nullable: false, defaultTo: false},
|
||||
page: {type: 'bool', nullable: false, defaultTo: false},
|
||||
|
|
|
@ -19,7 +19,7 @@ var should = require('should'), // jshint ignore:line
|
|||
// both of which are required for migrations to work properly.
|
||||
describe('DB version integrity', function () {
|
||||
// Only these variables should need updating
|
||||
var currentSchemaHash = 'ae4ada98be2691b4d6e323eebcdb875f',
|
||||
var currentSchemaHash = '8973f14e9a33601171dee3010d4cffd7',
|
||||
currentFixturesHash = 'ad12de59b939b13dc198611a6438ab51';
|
||||
|
||||
// If this test is failing, then it is likely a change has been made that requires a DB version bump,
|
||||
|
|
Loading…
Add table
Reference in a new issue