aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-04 17:47:28 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-04 17:47:28 +0200
commita60604f5d250121fd594bb3d331a0f85fe889797 (patch)
tree61ed42fb477838861aa585032d7aa9655050efea /sonar-server/src
parentc9cc6ba15aa9baaedb451ac3edab5a8dde9dec46 (diff)
downloadsonarqube-a60604f5d250121fd594bb3d331a0f85fe889797.tar.gz
sonarqube-a60604f5d250121fd594bb3d331a0f85fe889797.zip
SONAR-4463 Renamed permission column and added DAO methods
Diffstat (limited to 'sonar-server/src')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/416_create_permission_templates_users.rb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/417_create_permission_templates_groups.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/416_create_permission_templates_users.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/416_create_permission_templates_users.rb
index 13581fad766..10a70d79299 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/416_create_permission_templates_users.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/416_create_permission_templates_users.rb
@@ -27,7 +27,7 @@ class CreatePermissionTemplatesUsers < ActiveRecord::Migration
create_table :perm_templates_users do |t|
t.column :user_id, :integer, :null => false
t.column :template_id, :integer, :null => false
- t.column :permission, :string, :null => false, :limit => 64
+ t.column :permission_reference, :string, :null => false, :limit => 64
t.column :created_at, :datetime, :null => true
t.column :updated_at, :datetime, :null => true
end
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/417_create_permission_templates_groups.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/417_create_permission_templates_groups.rb
index b88ceabfc62..b9ccf96f711 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/417_create_permission_templates_groups.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/417_create_permission_templates_groups.rb
@@ -27,7 +27,7 @@ class CreatePermissionTemplatesGroups < ActiveRecord::Migration
create_table :perm_templates_groups do |t|
t.column :group_id, :integer, :null => true
t.column :template_id, :integer, :null => false
- t.column :permission, :string, :null => false, :limit => 64
+ t.column :permission_reference, :string, :null => false, :limit => 64
t.column :created_at, :datetime, :null => true
t.column :updated_at, :datetime, :null => true
end