Skip to content

Commit

Permalink
Add migration for publisher keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
simonv3 committed Apr 3, 2015
1 parent 47d8eea commit 2dad943
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@ def up
if panopticon
SupportedPermission.create!(application: panopticon, name: "keywords")
end

publisher = ::Doorkeeper::Application.find_by_name("publisher")
if publisher
SupportedPermission.create!(application: publisher, name: "keywords")
end
end
end

0 comments on commit 2dad943

Please sign in to comment.