Relationships between the CAF bits now in place
Rename the type field to kind, type is reserved
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
class Principle < ApplicationRecord
|
||||
belongs_to :caf
|
||||
belongs_to :objective
|
||||
has_many :subprinciples, dependent: :destroy
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user