Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor of scripts/import-tests #291

Merged
merged 8 commits into from
May 18, 2021
2 changes: 0 additions & 2 deletions server/models/TestPlan.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ module.exports = function(sequelize, DataTypes) {
}
);

Model.associate = function(models) {};

return Model;
};
6 changes: 1 addition & 5 deletions server/models/UserRoles.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const MODEL_NAME = 'UserRoles';

module.exports = function(sequelize, DataTypes) {
const Model = sequelize.define(
return sequelize.define(
MODEL_NAME,
{
userId: {
Expand All @@ -27,8 +27,4 @@ module.exports = function(sequelize, DataTypes) {
tableName: MODEL_NAME
}
);

Model.associate = function(models) {};

return Model;
};
Loading