text: // Update with your config settings.
  
  module.exports = {
  
    development: {
      client: 'sqlite3',
      connection: {
        filename: './data/expat.db3'
      },
      migrations: {
        directory: "./data/migrations"
      },
      seeds: {
        directory: "./data/seeds"
      },
      useNullAsDefault:true,
           pool: {
              afterCreate: (conn, done) => {
                conn.run('PRAGMA foreign_keys = ON', done);  }
            }
    },
    
    testing: {
      client: "sqlite3",
      connection: {
        filename: "./data/test.db3"
      },
      useNullAsDefault: true,
      migrations: {
        directory: "./data/migrations"
      },
      seeds: {
        directory: "./data/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'
      }
    }
  
  };
  