8 lines
172 B
JavaScript
8 lines
172 B
JavaScript
|
db.getSiblingDB("unifi").createUser({
|
||
|
user: "unifi",
|
||
|
pwd: "changeme",
|
||
|
roles: [
|
||
|
{ role: "dbOwner", db: "unifi" },
|
||
|
{ role: "dbOwner", db: "unifi_stat" }
|
||
|
]
|
||
|
});
|