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

- old
+ new

@@ -1,12 +1,13 @@ # frozen_string_literal: true module Legion module Data module Model - # Used for accessing legion.chains class Chain < Sequel::Model one_to_many :relationship + many_to_one :user_owner, class: Legion::Data::Model::User + many_to_one :group_owner, class: Legion::Data::Model::Group end end end end