models: require belong_to associations on module_api_carto

This commit is contained in:
Pierre de La Morinerie 2020-07-20 17:05:21 +02:00
parent 71d9774d58
commit eb22dc9d8f

View file

@ -12,5 +12,5 @@
# procedure_id :integer
#
class ModuleAPICarto < ApplicationRecord
belongs_to :procedure
belongs_to :procedure, optional: false
end