const mongodb = require('mongodb');
const uri = process.env.MONGODB_URI;

mongodb.MongoClient.connect(uri, function(err, client) {
    if (err) throw err;
});
@@ -70,66 +70,710 @@
 RI;%0A
-%0Amongodb.MongoClient.connect(uri, function(err, client) %7B%0A
+const dbName = process.env.DB_NAME;%0A%0Aconst seedData = %5B%0A    %7B%0A        type: 'HQ unit',%0A        name: 'Officer',%0A        cost: %5B %7Bname: 'Second Lieutentant', regular: 50, veteran: 65%7D, %0A                %7Bname: 'First Lieutentant', regular: 75, veteran: 90%7D %5D,%0A        team: '1 officer and up to 2 additional men',%0A        weapons: %5B 'pistol', 'submachine gun', 'rifle', 'assault rifle' %5D,%0A        options: %5B %7Bname: 'Bodyguard', regular: 10, veteran: 13%7D %5D%0A    %7D%0A%5D;%0A%0Amongodb.MongoClient.connect(uri, (err, client) =%3E %7B%0A    if (err) throw err;%0A%0A    let db = client.db(dbName);%0A    let army = db.collection('army');%0A%0A    // TODO setup migration for db%0A    // army.insert(seedData, (err, result) =%3E %7B%0A    // 
     
@@ -792,11 +792,22 @@
 ow err;%0A
+    // %7D);%0A
 %7D);

Create insert statement