not authorized on testdatabase to execute command { drop: "system.views" #3276
Replies: 1 comment
-
@GromNaN it seems when laravel mongodb database when created lacks any permission to execute commands drop db if there is a views. Supposedly it should I created a root account using mongodb-atlas-local. Not sure if the issue is with the package lacking grants or the docker image |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In mongodb atlas I can drop views but when doing it in eloquent I cant seem to remove views
I can drop views by this command DB::getCollection('users_combined')->drop();
, but when doing test it causes issues when using DatabaseMigrations or any testing traits.
parent::setUp(); is line 11
Beta Was this translation helpful? Give feedback.
All reactions