This commit is contained in:
parent
34f48e46e7
commit
823e8fd7a1
|
@ -67,7 +67,7 @@ module.exports = Self => {
|
||||||
roadmapStop.roadmapFk = clone.id;
|
roadmapStop.roadmapFk = clone.id;
|
||||||
return roadmapStop;
|
return roadmapStop;
|
||||||
});
|
});
|
||||||
await models.roadmapStop.create(roadmapStops, options);
|
await models.RoadmapStop.create(roadmapStops, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
await tx.commit();
|
await tx.commit();
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
},
|
},
|
||||||
"roadmapStop": {
|
"roadmapStop": {
|
||||||
"type": "hasMany",
|
"type": "hasMany",
|
||||||
"model": "roadmapStop",
|
"model": "RoadmapStop",
|
||||||
"foreignKey": "roadmapFk"
|
"foreignKey": "roadmapFk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue