mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Added member segment to email batches
issue https://github.com/TryGhost/Team/issues/826
This commit is contained in:
parent
b33b837c39
commit
a792b92e94
3 changed files with 9 additions and 1 deletions
|
@ -0,0 +1,7 @@
|
|||
const {createAddColumnMigration} = require('../../utils');
|
||||
|
||||
module.exports = createAddColumnMigration('email_batches', 'member_segment', {
|
||||
type: 'text',
|
||||
maxlength: 2000,
|
||||
nullable: true
|
||||
});
|
|
@ -576,6 +576,7 @@ module.exports = {
|
|||
defaultTo: 'pending',
|
||||
validations: {isIn: [['pending', 'submitting', 'submitted', 'failed']]}
|
||||
},
|
||||
member_segment: {type: 'text', maxlength: 2000, nullable: true},
|
||||
created_at: {type: 'dateTime', nullable: false},
|
||||
updated_at: {type: 'dateTime', nullable: false}
|
||||
},
|
||||
|
|
|
@ -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 = '8f01272cb84fe4e8a0e7ef20f8f7e294';
|
||||
const currentSchemaHash = '32e92f2cf2874d6d8ac68bfdc97cd885';
|
||||
const currentFixturesHash = '97283c575b1f6c84c27db6e1b1be21d4';
|
||||
const currentSettingsHash = 'dd0a0a08e66b252e7704bb7e346a8c20';
|
||||
const currentRoutesHash = '3d180d52c663d173a6be791ef411ed01';
|
||||
|
|
Loading…
Add table
Reference in a new issue