gancio-upstream/server/migrations/20191210212618-remove_username.js

18 lines
359 B
JavaScript
Raw Normal View History

2019-12-10 22:30:47 +01:00
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.removeColumn('users', 'username')
},
down: (queryInterface, Sequelize) => {
/*
Add reverting commands here.
Return a promise to correctly handle asynchronicity.
Example:
return queryInterface.dropTable('users');
*/
}
};