diff options
| author | jc0b <j@jc0b.computer> | 2020-06-30 18:02:16 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:44:37 +0200 |
| commit | b97d1977d08760b237c645a275be1972a32451b7 (patch) | |
| tree | 55cfdd69a8237411558a3045c9342a014de607f1 /mongodb/mongo-init-opendc-db.sh | |
| parent | 6a4703517e7e1ca5ee2c8d8e0a4c49f32d17c662 (diff) | |
| parent | abb91a93c40ef3577aa953cf6e8c252593e082d4 (diff) | |
Merge branch 'feature/mongodb-migration' of github.com:atlarge-research/opendc-dev into feature/mongodb-migration
Diffstat (limited to 'mongodb/mongo-init-opendc-db.sh')
| -rw-r--r-- | mongodb/mongo-init-opendc-db.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mongodb/mongo-init-opendc-db.sh b/mongodb/mongo-init-opendc-db.sh index e7a787fe..5ff62f8b 100644 --- a/mongodb/mongo-init-opendc-db.sh +++ b/mongodb/mongo-init-opendc-db.sh @@ -1,6 +1,6 @@ #!/bin/bash -echo 'Creating opendc user and db' +echo 'Creating OpenDC user and database' mongo opendc --host localhost \ --port 27017 \ @@ -17,6 +17,7 @@ $MONGO_CMD --eval 'db.createCollection("users");' $MONGO_CMD --eval 'db.createCollection("simulations");' $MONGO_CMD --eval 'db.createCollection("topologies");' $MONGO_CMD --eval 'db.createCollection("experiments");' +$MONGO_CMD --eval 'db.createCollection("traces");' $MONGO_CMD --eval 'db.createCollection("prefabs");' echo 'Loading test data' |
