var userData = require('./mockdata/exampleUsers');
var templateData = require('./mockdata/exampleTemplate');
var activityData = require('./mockdata/exampleActivity');
var historyData = require('./mockdata/exampleHistory');
const { User, Template, Activity, History } = require('./db/mongoose-schemas.js')


//MAKE SURE TABLES ARE CLEAR
User.remove({}, function(err) {
  if (err) console.log(err);
  console.log('User Table Cleared');
})

Template.remove({}, function(err) {
  if (err) console.log(err);
  console.log('Template Table Cleared');
})

Activity.remove({}, function(err) {
  if (err) console.log(err);
  console.log('Activity Table Cleared');
})

History.remove({}, function(err) {
  if (err) console.log(err);
  console.log('History Table Cleared');
})

//ADD DATA

userData.forEach(function(element) {
  User.create(element);
});
templateData.forEach(function(element) {
  Template.create(element);
});
activityData.forEach(function(element) {
  Activity.create(element);
});
historyData.forEach(function(element) {
  History.create(element);
});

@@ -1,11 +1,13 @@
-var
+const
  userDat
@@ -46,19 +46,21 @@
 sers');%0A
-var
+const
  templat
@@ -106,19 +106,21 @@
 late');%0A
-var
+const
  activit
@@ -170,11 +170,13 @@
 ');%0A
-var
+const
  his

Change Var to Const in Seed.js