text: // Copyright 2020 ODK Central Developers
  // See the NOTICE file at the top-level directory of this distribution and at
  // https://github.com/opendatakit/central-backend/blob/master/NOTICE.
  // This file is part of ODK Central. It is subject to the license terms in
  // the LICENSE file found in the top-level directory of this distribution and at
  // https://www.apache.org/licenses/LICENSE-2.0. No part of ODK Central,
  // including this file, may be copied, modified, propagated, or distributed
  // except according to the terms contained in the LICENSE file.
  
  const up = (db) => db.schema.table('submission_defs', (sds) => {
    sds.renameColumn('actorId', 'submitterId');
  });
  
  const down = (db) => db.schema.table('submission_defs', (sds) => {
    sds.renameColumn('submitterId', 'actorId');
  });
  
  module.exports = { up, down };
  
  