aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/workbench.rb
diff options
context:
space:
mode:
authorGuillaume2017-09-25 18:19:21 +0200
committerGuillaume2017-09-25 18:19:21 +0200
commit82f611cd417d7e3a98f4fa7d21e2f94e6bc9a011 (patch)
tree9383afa60f3430930cc0ac1ba669d0b52af7f548 /app/models/workbench.rb
parent2fa5b41379f33b399121dca1149dd7b20cf6d00d (diff)
downloadchouette-core-82f611cd417d7e3a98f4fa7d21e2f94e6bc9a011.tar.bz2
add compliance_check_sets structure Refs #3564
Diffstat (limited to 'app/models/workbench.rb')
-rw-r--r--app/models/workbench.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/workbench.rb b/app/models/workbench.rb
index 30692e625..cd90f8253 100644
--- a/app/models/workbench.rb
+++ b/app/models/workbench.rb
@@ -10,6 +10,7 @@ class Workbench < ActiveRecord::Base
has_many :stop_areas, through: :stop_area_referential
has_many :imports
has_many :workbench_imports
+ has_many :compliance_check_sets
validates :name, presence: true
validates :organisation, presence: true