Relationships between the CAF bits now in place

Rename the type field to kind, type is reserved
This commit is contained in:
2023-02-12 07:01:39 +00:00
parent 410a59fa04
commit d96050c4fb
9 changed files with 55 additions and 10 deletions

View File

@@ -1,3 +1,4 @@
class Subprincipleitemgroup < ApplicationRecord
belongs_to :subprinciple
has_many :subprincipleitems, dependent: :destroy
end