Changing database schema a bit
This commit is contained in:
@ -26,4 +26,8 @@ Benchmark.hasMany(Result);
|
||||
Result.belongsTo(Test);
|
||||
Test.hasMany(Result);
|
||||
|
||||
// Result/Hardware many-to-one
|
||||
Result.belongsTo(Hardware);
|
||||
Hardware.hasMany(Result);
|
||||
|
||||
module.exports = sequelize;
|
||||
|
Reference in New Issue
Block a user