cleanup and working seed data

This commit is contained in:
Arjun Patel
2019-03-13 23:53:07 -07:00
parent acf6421251
commit 05a1003be2
10 changed files with 119 additions and 143 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ const bcrypt = require('bcrypt-nodejs');
// DOESNT WORK AS NEED TO HASH PASSWORD TO DB
module.exports = {
up: async (queryInterface, Sequelize) => {
var hash = bcrypt.hashSync('test', null);
return queryInterface.bulkInsert('donors', [
@@ -27,7 +26,7 @@ module.exports = {
down: (queryInterface, Sequelize) => {
return queryInterface.bulkDelete('donors', {
email: 'patel.[email protected]'
email: '[email protected]'
});
}
};