From 42d530caf9b07bee6624356e1e8ec9ade5767fda Mon Sep 17 00:00:00 2001 From: Gavriel R-H Date: Tue, 14 Jan 2020 17:38:39 -0500 Subject: [PATCH] Make committees 1->* officers rather than 1->1 (#96) --- models/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/index.js b/models/index.js index d3dd339..9f9a73c 100644 --- a/models/index.js +++ b/models/index.js @@ -9,7 +9,7 @@ import Specialty from './specialty'; import Tag from './tag'; import User from './user'; -Committee.hasOne(Officer); +Committee.hasMany(Officer); Committee.hasMany(Event); Committee.hasMany(Membership);