ghost
Version:
The professional publishing platform
10 lines (7 loc) • 330 B
JavaScript
// For information on writing migrations, see https://www.notion.so/ghost/Database-migrations-eb5b78c435d741d2b34a582d57c24253
const {createAddColumnMigration} = require('../../utils');
module.exports = createAddColumnMigration('newsletters', 'show_subhead', {
type: 'boolean',
nullable: false,
defaultTo: false
});