models: require belong_to associations on module_api_carto
This commit is contained in:
parent
71d9774d58
commit
eb22dc9d8f
1 changed files with 1 additions and 1 deletions
|
@ -12,5 +12,5 @@
|
||||||
# procedure_id :integer
|
# procedure_id :integer
|
||||||
#
|
#
|
||||||
class ModuleAPICarto < ApplicationRecord
|
class ModuleAPICarto < ApplicationRecord
|
||||||
belongs_to :procedure
|
belongs_to :procedure, optional: false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue