text: /**
   * @file bin/tasks/sql/triggers/before/enforce-distinct-parent-forum-reference.js
   */
  'use strict';
  
  const enabled = require('../../../../utils/query-enabled');
  const sqlTask = require('../../../../utils/sql-task');
  
  /**
   * @type {String}
   */
  const title = 'Creating `enforce_distinct_parent_forum_reference` trigger...';
  
  /**
   * @param  {Object} ctx
   * @param  {Object} task
   * @return {Promise}
   * @private
   */
  const task = ctx => {
    return sqlTask(ctx, 'triggers/before/enforce-distinct-parent-forum-reference.sql');
  };
  
  /**
   * A Listr-compatible task object.
   * @type {Object}
   */
  module.exports = { title, enabled, task };
  