Add customer API stub
This commit is contained in:
12
api-customer/mongo-init/mongo-init.js
Normal file
12
api-customer/mongo-init/mongo-init.js
Normal file
@@ -0,0 +1,12 @@
|
||||
db = db.getSiblingDB("customer-db");
|
||||
|
||||
db.createCollection("systems");
|
||||
db.createCollection("games");
|
||||
|
||||
db.createUser({
|
||||
user: "user",
|
||||
pwd: "psk358xpg",
|
||||
roles: [
|
||||
{ role: "readWrite", db: "customer-db" }
|
||||
]
|
||||
});
|
||||
Reference in New Issue
Block a user