summaryrefslogtreecommitdiffstats
path: root/db/migrate/096_add_commit_access_permission.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/096_add_commit_access_permission.rb')
-rw-r--r--db/migrate/096_add_commit_access_permission.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/096_add_commit_access_permission.rb b/db/migrate/096_add_commit_access_permission.rb
index 39642cdfe..9b5fc66e6 100644
--- a/db/migrate/096_add_commit_access_permission.rb
+++ b/db/migrate/096_add_commit_access_permission.rb
@@ -1,4 +1,4 @@
-class AddCommitAccessPermission < ActiveRecord::Migration
+class AddCommitAccessPermission < ActiveRecord::Migration[4.2]
def self.up
Role.all.select { |r| not r.builtin? }.each do |r|
r.add_permission!(:commit_access)