fix: eslint warnings (#252)
This commit is contained in:
@@ -40,7 +40,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
down: async (queryInterface) => {
|
||||
await queryInterface.dropTable('users');
|
||||
},
|
||||
};
|
||||
|
||||
@@ -42,7 +42,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
down: async (queryInterface) => {
|
||||
await queryInterface.dropTable('projects');
|
||||
},
|
||||
};
|
||||
|
||||
@@ -42,7 +42,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
async down(queryInterface, Sequelize) {
|
||||
async down(queryInterface) {
|
||||
await queryInterface.dropTable('folders');
|
||||
},
|
||||
};
|
||||
|
||||
@@ -46,7 +46,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
async down(queryInterface, Sequelize) {
|
||||
async down(queryInterface) {
|
||||
await queryInterface.dropTable('runs');
|
||||
},
|
||||
};
|
||||
|
||||
@@ -66,7 +66,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
async down(queryInterface, Sequelize) {
|
||||
async down(queryInterface) {
|
||||
await queryInterface.dropTable('cases');
|
||||
},
|
||||
};
|
||||
|
||||
@@ -28,7 +28,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
down: async (queryInterface) => {
|
||||
await queryInterface.dropTable('steps');
|
||||
},
|
||||
};
|
||||
|
||||
@@ -46,7 +46,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
down: async (queryInterface) => {
|
||||
await queryInterface.dropTable('caseSteps');
|
||||
},
|
||||
};
|
||||
|
||||
@@ -32,7 +32,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
async down(queryInterface, Sequelize) {
|
||||
async down(queryInterface) {
|
||||
await queryInterface.dropTable('attachments');
|
||||
},
|
||||
};
|
||||
|
||||
@@ -42,7 +42,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
down: async (queryInterface) => {
|
||||
await queryInterface.dropTable('caseAttachments');
|
||||
},
|
||||
};
|
||||
|
||||
@@ -46,7 +46,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
down: async (queryInterface) => {
|
||||
await queryInterface.dropTable('runCases');
|
||||
},
|
||||
};
|
||||
|
||||
@@ -46,7 +46,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
down: async (queryInterface) => {
|
||||
await queryInterface.dropTable('members');
|
||||
},
|
||||
};
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/** @type {import('sequelize-cli').Migration} */
|
||||
module.exports = {
|
||||
async up(queryInterface, Sequelize) {
|
||||
async up(queryInterface) {
|
||||
/**
|
||||
* Add altering commands here.
|
||||
*
|
||||
@@ -15,7 +15,7 @@ module.exports = {
|
||||
await queryInterface.renameColumn('users', 'avatarPath', 'avatar_path');
|
||||
},
|
||||
|
||||
async down(queryInterface, Sequelize) {
|
||||
async down() {
|
||||
/**
|
||||
* Add reverting commands here.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user