Commit 141194c9 authored by Mark Stenglein's avatar Mark Stenglein

Move dataScrapers to a new helpers directory

parent dc9164c3
Pipeline #691 failed with stage
in 1 minute and 5 seconds
......@@ -2,14 +2,14 @@ module.exports = function (sequelize, DataTypes) {
return sequelize.define('Section', {
// unique index/key
crn: {
type: DataTypes.STRING,
type: DataTypes.STRING
},
semester: {
type: DataTypes.STRING,
references: {
model: 'Semesters',
key : 'slug'
key: 'slug'
}
},
......
......@@ -10,7 +10,7 @@ module.exports = function (sequelize, DataTypes) {
type: DataTypes.STRING,
references: {
model: 'Universities',
key : 'slug'
key: 'slug'
}
},
......
......@@ -5,7 +5,7 @@ var config = require('config')
// get configuration for sequelize
// worth noting that this changes depending on the environment
var sequelizeConf = config.get('sequelize')
sequelizeConf.logging = false;
sequelizeConf.logging = false
// make the new connection
var sequelize = new Sequelize(sequelizeConf)
......
......@@ -54,7 +54,7 @@
"/public/javascripts/bootstrap*.js",
"/public/javascripts/bootstrap/",
"/public/javascripts/fontawesome.js",
"/dataScrapers/"
"/helpers/dataScrapers/"
]
},
"lint-staged": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment