text: // Update with your config settings.
  require("dotenv").config({});
  
  /**
   * @type { Object.<string, import("knex").Knex.Config> }
   */
  module.exports = {
    development: {
      client: "pg",
      connection: {
        host: process.env.POSTGRES_HOST || "localhost", //inserir nome do banco de dados
        database: process.env.POSTGRES_DB || "teste", //inserir nome do banco de dados
        user: process.env.POSTGRES_USER || "teste", //nome de usuário do banco
        password: process.env.POSTGRES_PASSWORD || "teste", //senha do usuário
      },
      migrations: {
        tableName: "knex_migrations",
        directory: `${__dirname}/src/database/migrations`,
      },
      seeds: {
        directory: `${__dirname}/src/database/seeds`,
      },
    },
  
    // staging: {
    //   client: 'postgresql',
    //   connection: {
    //     database: 'my_db',
    //     user:     'username',
    //     password: 'password'
    //   },
    //   pool: {
    //     min: 2,
    //     max: 10
    //   },
    //   migrations: {
    //     tableName: 'knex_migrations'
    //   }
    // },
  
    // production: {
    //   client: 'postgresql',
    //   connection: {
    //     database: 'my_db',
    //     user:     'username',
    //     password: 'password'
    //   },
    //   pool: {
    //     min: 2,
    //     max: 10
    //   },
    //   migrations: {
    //     tableName: 'knex_migrations'
    //   }
    // }
  };
  