mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-30 20:29:13 +01:00
14 lines
172 B
JavaScript
14 lines
172 B
JavaScript
|
var user = {
|
||
|
user: 'example-misskey-user',
|
||
|
pwd: 'example-misskey-pass',
|
||
|
roles: [
|
||
|
{
|
||
|
role: 'readWrite',
|
||
|
db: 'misskey'
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
|
||
|
db.createUser(user);
|
||
|
|