summaryrefslogtreecommitdiff
path: root/mongodb/mongo-opendc-schema.sh
diff options
context:
space:
mode:
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