37 lines
964 B
JSON
37 lines
964 B
JSON
|
|
[
|
||
|
|
{
|
||
|
|
"insert": "members",
|
||
|
|
"documents": [
|
||
|
|
{
|
||
|
|
"uid": 1000000,
|
||
|
|
"tenant_id": "default",
|
||
|
|
"email": "admin@30cm.net",
|
||
|
|
"display_name": "Harbor Admin",
|
||
|
|
"roles": ["admin", "member"],
|
||
|
|
"status": "active",
|
||
|
|
"email_verified": true,
|
||
|
|
"email_verified_at": 1700000000000000000,
|
||
|
|
"invite_code": "SEEDADMIN",
|
||
|
|
"password_hash": "$2a$10$iGGFNC5rM8MFhU8Wj6a7TOcQCsTeD03bkEODvQBh2ZxvCH.PcLl3O",
|
||
|
|
"timezone": "Asia/Taipei",
|
||
|
|
"notify_email": false,
|
||
|
|
"bio": "",
|
||
|
|
"created_at": 1700000000000000000,
|
||
|
|
"updated_at": 1700000000000000000,
|
||
|
|
"seed_note": "password is admin123 — change in production; uid=1000000 (8 digits from 1M)"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"ordered": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"update": "counters",
|
||
|
|
"updates": [
|
||
|
|
{
|
||
|
|
"q": { "_id": "member_uid" },
|
||
|
|
"u": { "$setOnInsert": { "seq": 1000000 } },
|
||
|
|
"upsert": true
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|