aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-06-10 23:19:22 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-16 22:23:37 +0200
commit9d5a1bbb6548805e6149ef3a93113998291ea9f6 (patch)
tree108f105868e817788f7283413cf08050faae37b0
parent5ca2c1ed0461f000c03a96728ddb713fb094ba36 (diff)
downloadsonarqube-9d5a1bbb6548805e6149ef3a93113998291ea9f6.tar.gz
sonarqube-9d5a1bbb6548805e6149ef3a93113998291ea9f6.zip
SONAR-6716 Rename migrations 061 and 283 to follow conventions
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/061_create_measure_data.rb4
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/283_create_authors_table.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/283_add_authors_primary_key.rb)2
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/061_create_measure_data.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/061_create_measure_data.rb
index 76a2a086f45..05b9ffa2888 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/061_create_measure_data.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/061_create_measure_data.rb
@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
-class AddMeasureData < ActiveRecord::Migration
+class CreateMeasureData < ActiveRecord::Migration
def self.up
create_table :measure_data do |t|
@@ -28,4 +28,4 @@ class AddMeasureData < ActiveRecord::Migration
add_index :measure_data, :measure_id, :name => 'measure_data_measure_id'
end
-end \ No newline at end of file
+end
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/283_add_authors_primary_key.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/283_create_authors_table.rb
index e1368d62d3b..f2d0b93de7b 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/283_add_authors_primary_key.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/283_create_authors_table.rb
@@ -21,7 +21,7 @@
#
# Sonar 3.0
#
-class AddAuthorsPrimaryKey < ActiveRecord::Migration
+class CreateAuthorsTable < ActiveRecord::Migration
def self.up
create_table 'authors' do |t|