     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
 
     }
 


    elif [ "$1" == "importusers" ]; then
      importusers

    elif [ "$1" == "updateusers" ]; then
      updateusers

    elif [ "$1" == "worker" ]; then



        restoredefaultmongodump
        restoredefaultpostgresdump

        exit 0

