fix: seed user data column name (#87)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
/** @type {import('sequelize-cli').Migration} */
|
||||
module.exports = {
|
||||
async up (queryInterface, Sequelize) {
|
||||
async up(queryInterface, Sequelize) {
|
||||
/**
|
||||
* Add altering commands here.
|
||||
*
|
||||
@@ -15,12 +15,12 @@ module.exports = {
|
||||
await queryInterface.renameColumn('users', 'avatarPath', 'avatar_path');
|
||||
},
|
||||
|
||||
async down (queryInterface, Sequelize) {
|
||||
async down(queryInterface, Sequelize) {
|
||||
/**
|
||||
* Add reverting commands here.
|
||||
*
|
||||
* Example:
|
||||
* await queryInterface.dropTable('users');
|
||||
*/
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user