Skip to content

Commit

Permalink
[api] trying to fix db:migrate (issue 512)
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Dec 2, 2013
1 parent fa56d0c commit 9acdb3e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/api/db/migrate/20130626160000_attribute_issue_marker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ def self.up

at=AttribType.create( :attrib_namespace => ans, :name => "Issues", :value_count => 0 )
p={}
p[:role] = Role.find_by_title("maintainer")
p[:bs_role_id] = Role.find_by_title("maintainer").id
at.attrib_type_modifiable_bies.create(p)
p[:role] = Role.find_by_title("bugowner")
at.attrib_type_modifiable_bies.create(p)
p[:role] = Role.find_by_title("reviewer")
p[:bs_role_id] = Role.find_by_title("bugowner").id
at.attrib_type_modifiable_bies.create(p)
p[:bs_role_id] = Role.find_by_title("reviewer")
at.attrib_type_modifiable_bies.create(p).id
end


Expand Down

0 comments on commit 9acdb3e

Please sign in to comment.