initial load

This commit is contained in:
Steve Waterworth
2018-01-10 16:31:49 +00:00
commit ae1a16f94c
33 changed files with 1647 additions and 0 deletions

15
mongo/users.js Normal file
View File

@@ -0,0 +1,15 @@
//
// Products
//
db = db.getSiblingDB('users');
db.users.insertMany([
{name: 'user', password: 'password', email: 'user@me.com'},
{name: 'stan', password: 'bigbrain', email: 'stan@instana.com'}
]);
// unique index on the name
db.users.createIndex(
{name: 1},
{unique: true}
);