app/models/ox_account.rb in oxen_account-0.4.11 vs app/models/ox_account.rb in oxen_account-0.4.12
- old
+ new
@@ -3,9 +3,10 @@
establish_connection ((Rails.env=="development") ? :dev_oxen_tables : :oxen_tables )
has_many :users, dependent: :destroy, foreign_key: 'account_id'
has_many :printers, dependent: :destroy, foreign_key: 'account_id'
+ has_many :printservers, dependent: :destroy, foreign_key: 'account_id'
has_many :services, dependent: :destroy, foreign_key: 'account_id'
validates :name, presence: true
end