Skip to content

Commit

Permalink
783402 - unique constraint for templates in changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Strachota committed Jan 30, 2012
1 parent 32c31be commit 816ef03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/models/changeset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Changeset < ActiveRecord::Base
has_and_belongs_to_many :products, :uniq => true
has_many :packages, :class_name=>"ChangesetPackage", :inverse_of=>:changeset
has_many :users, :class_name=>"ChangesetUser", :inverse_of=>:changeset
has_and_belongs_to_many :system_templates
has_and_belongs_to_many :system_templates, :uniq => true
has_many :errata, :class_name=>"ChangesetErratum", :inverse_of=>:changeset
has_and_belongs_to_many :repos, :class_name=>"Repository", :uniq => true
has_many :distributions, :class_name=>"ChangesetDistribution", :inverse_of => :changeset
Expand Down

0 comments on commit 816ef03

Please sign in to comment.