text: // Update with your config settings.
  
  module.exports = {
  
    development: {
      client: 'sqlite3',
      useNullAsDefault:true,
      connection: {
        filename: './data/wishlist.db3'
      },
      pool:{
        afterCreate:(conn, done)=>{
          conn.run('PRAGMA foreign_keys = ON', done);
        }
      },
      migrations:{
        directory:'./data/migrations'
      },
      seeds:{
        directory:'./data/seeds'
      }
    },
    production: {
      client: "pg",
      connection: {
        connectionString: process.env.DATABASE_URL,
        ssl: { rejectUnauthorized: false},
      },
      migrations: { directory: "./data/migrations" },
      seeds: { directory: "./data/seeds" }
    },
  
   
  };
  