Skip to content

A free open source IT asset/license management system

Let's make sure to keep some of the stuff we need on the demo as well

snipe4d30edd535e2
diff --git a/app/Console/Commands/PaveIt.php b/app/Console/Commands/PaveIt.php
index 40719113db..e59a399ad4 100644
--- a/app/Console/Commands/PaveIt.php
+++ b/app/Console/Commands/PaveIt.php
@@ -79,7 +79,10 @@ class PaveIt extends Command
}
}
- \DB::statement('delete from users WHERE id!=1'
+ \DB::statement('delete from users WHERE id > 2');
+ \DB::statement('delete from oauth_clients WHERE id > 2');
+ \DB::statement('delete from oauth_access_tokens WHERE id > 2');
+
}
}
}