/**
 * Production environment settings
 *
 * This file can include shared settings for a production environment,
 * such as API keys or remote database passwords.  If you're using
 * a version control solution for your Sails app, this file will
 * be committed to your repository unless you add it to your .gitignore
 * file.  If your repository will be publicly viewable, don't add
 * any private information to this file!
 *
 */

module.exports = {

  connections: {
    pgProd: {
      adapter: 'sails-postrges',
      host: 'ec2-46-137-125-22.eu-west-1.compute.amazonaws.com',
      port: 5432,
      user: 'hortanwfrlhtxl'
      password: '1za_IhumnIQSjUDsIK8_zA82hU',
      database: 'daovadtph7kmnb'
    },
    models: {
      connection: 'pgProd'
    }
  }

  /***************************************************************************
   * Set the default database connection for models in the production        *
   * environment (see config/connections.js and config/models.js )           *
   ***************************************************************************/

  // models: {
  //   connection: 'someMysqlServer'
  // },

  /***************************************************************************
   * Set the port in the production environment to 80                        *
   ***************************************************************************/

  // port: 80,

  /***************************************************************************
   * Set the log level in production environment to "silent"                 *
   ***************************************************************************/

  // log: {
  //   level: "silent"
  // }

};

/**
 * Production environment settings
 *
 * This file can include shared settings for a production environment,
 * such as API keys or remote database passwords.  If you're using
 * a version control solution for your Sails app, this file will
 * be committed to your repository unless you add it to your .gitignore
 * file.  If your repository will be publicly viewable, don't add
 * any private information to this file!
 *
 */

module.exports = {

  connections: {
    pgProd: {
      adapter: 'sails-postrges',
      host: 'ec2-46-137-125-22.eu-west-1.compute.amazonaws.com',
      port: 5432,
      user: 'hortanwfrlhtxl',
      password: '1za_IhumnIQSjUDsIK8_zA82hU',
      database: 'daovadtph7kmnb'
    },
    models: {
      connection: 'pgProd'
    }
  }

  /***************************************************************************
   * Set the default database connection for models in the production        *
   * environment (see config/connections.js and config/models.js )           *
   ***************************************************************************/

  // models: {
  //   connection: 'someMysqlServer'
  // },

  /***************************************************************************
   * Set the port in the production environment to 80                        *
   ***************************************************************************/

  // port: 80,

  /***************************************************************************
   * Set the log level in production environment to "silent"                 *
   ***************************************************************************/

  // log: {
  //   level: "silent"
  // }

};

Fix production.js file