     function restoredefaultpostgresdump () {
       removeDockerByName postgres
       runPostgresqlDocker
+      migrate up
+
+      migrateusers
     }
 
     function updatePermissions () {
 
       echo '#---> UPDATING MONGO DATABASE ACCORDING TO LATEST CHANGES IN CODE (UPDATE PERMISSIONS @gokmen) <---#'
       node $KONFIG_PROJECTROOT/scripts/permission-updater -c dev --reset
-
-    }
-
-    function updateusers () {
-
-      node $KONFIG_PROJECTROOT/scripts/user-updater
 
     }
 


        restoredefaultmongodump
        restoredefaultpostgresdump
        migrateusers

        exit 0


      command -v go            >/dev/null 2>&1 || { echo >&2 "I require go but it's not installed.  Aborting."; exit 1; }
      command -v docker        >/dev/null 2>&1 || { echo >&2 "I require docker but it's not installed.  Aborting."; exit 1; }
      command -v nginx         >/dev/null 2>&1 || { echo >&2 "I require nginx but it's not installed. (brew install nginx maybe?)  Aborting."; exit 1; }
      command -v node          >/dev/null 2>&1 || { echo >&2 "I require node but it's not installed.  Aborting."; exit 1; }
      command -v npm           >/dev/null 2>&1 || { echo >&2 "I require npm but it's not installed.  Aborting."; exit 1; }
      command -v gulp          >/dev/null 2>&1 || { echo >&2 "I require gulp but it's not installed. (npm i gulp -g)  Aborting."; exit 1; }
      command -v coffee        >/dev/null 2>&1 || { echo >&2 "I require coffee-script but it's not installed. (npm i coffee-script -g)  Aborting."; exit 1; }
      check_psql

