// Update with your config settings.

module.exports = {

  development: {
    client: 'sqlite3',
    connection: {
      filename: './dev.sqlite3'
    }
  },

  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'
    }
  }

};

@@ -1,42 +1,4 @@
-// Update with your config settings.%0A%0A
 modu
@@ -16,21 +16,13 @@
 = %7B%0A
-%0A
   
-developmen
+tes
 t: %7B
@@ -35,23 +35,18 @@
 lient: '
-sqlite3
+pg
 ',%0A    c
@@ -60,115 +60,207 @@
 on: 
-%7B%0A      file
+'postgres://localhost/dscount_test',%0A    migrations: %7B%0A      directory: __dir
 name
-:
+ +
  '
-.
 /d
-ev.sqlite3
+b/migrations
 '%0A    %7D
+,
 %0A  
-%7D,%0A%0A  staging: %7B%0A    client: 'postgresql',%0A    connection
+  seeds: %7B%0A      directory: __dirname + '/db/seeds/test'%0A    %7D%0A  %7D,%0A  development
 : %7B%0A    
   da
@@ -259,130 +259,133 @@
     
- 
- database: 'my_db
+client: 'pg
 ',%0A    
- 
- user:     'username',%0A      password: 'password'%0A    %7D,%0A    pool: %7B%0A      min: 2,%0A      max: 10
+connection: 'postgres://localhost/dscount',%0A    migrations: %7B%0A      directory: __dirname + '/db/migrations'
 %0A   
@@ -388,33 +388,28 @@
 %0A    %7D,%0A    
-migration
+seed
 s: %7B%0A      t
@@ -411,35 +411,53 @@
     
-tableName: 'knex_migrations
+directory: __dirname + '/db/seeds/development
 '%0A  
@@ -465,17 +465,16 @@
  %7D%0A  %7D,%0A
-%0A
   produc
@@ -499,17 +499,9 @@
 : 'p
-ostgresql
+g
 ',%0A 
@@ -519,88 +519,96 @@
 on: 
-%7B%0A      database: 'my_db',%0A      user:     'username',%0A      password: 'password
+process.env.DATABASE_URL,%0A    migrations: %7B%0A      directory: __dirname + '/db/migrations
 '%0A  
@@ -620,12 +620,13 @@
     
-pool
+seeds
 : %7B%0A
@@ -635,88 +635,52 @@
     
-min: 2,%0A      max: 10%0A    %7D,%0A    migrations: %7B%0A      tableName: 'knex_migra
+directory: __dirname + '/db/seeds/produc
 tion
-s
 '%0A  
@@ -687,12 +687,11 @@
   %7D%0A  %7D%0A
-%0A
 %7D;%0A

Edit settings