lib/legion/data/models/namespace.rb in legion-data-0.1.1 vs lib/legion/data/models/namespace.rb in legion-data-0.2.0

- old
+ new

@@ -1,12 +1,14 @@ # frozen_string_literal: true module Legion module Data module Model - # Used for accessing legion.namespaces class Namespace < Sequel::Model one_to_many :function + many_to_one :extension + many_to_one :user_owner, class: Legion::Data::Model::User + many_to_one :group_owner, class: Legion::Data::Model::Group end end end end