summaryrefslogtreecommitdiff
path: root/mongodb/mongo-opendc-schema.sh
diff options
context:
space:
mode:
authorjc0b <j.burley@vu.nl>2020-05-11 20:43:03 +0200
committerjc0b <j.burley@vu.nl>2020-05-11 20:43:03 +0200
commit9663374aa7f086b8a0aa9e0f254f0487f5ce09b4 (patch)
treee29a6b0f5c42824a0ede7d532797a9ab9c6453a6 /mongodb/mongo-opendc-schema.sh
parent4c347eb501a16eaa2a54933ed1ec8fa26521cc88 (diff)
Added mongodb dockerfile, removed tests being added to sql db
Diffstat (limited to 'mongodb/mongo-opendc-schema.sh')
-rw-r--r--mongodb/mongo-opendc-schema.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/mongodb/mongo-opendc-schema.sh b/mongodb/mongo-opendc-schema.sh
deleted file mode 100644
index 7fd9d10f..00000000
--- a/mongodb/mongo-opendc-schema.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-echo 'Creating opendc db schema...'
-
-$MONGO_CMD = "mongo opendc --host localhost --port 27017 -u $OPENDC_DB_USERNAME -p $OPENDC_DB_PASSWORD --authenticationDatabase opendc"
-
-eval $MONGO_COMMAND --eval "db.createCollection('environments'); db.createCollection('rooms'); db.createCollection('datacenters');" \ No newline at end of file