]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6716 Rename migration 061 to follow conventions
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 10 Jun 2015 21:14:47 +0000 (23:14 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 16 Jul 2015 20:23:29 +0000 (22:23 +0200)
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/061_add_measure_data.rb [deleted file]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/061_create_measure_data.rb [new file with mode: 0644]

diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/061_add_measure_data.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/061_add_measure_data.rb
deleted file mode 100644 (file)
index 76a2a08..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# SonarQube, open source software quality management tool.
-# Copyright (C) 2008-2014 SonarSource
-# mailto:contact AT sonarsource DOT com
-#
-# SonarQube is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 3 of the License, or (at your option) any later version.
-#
-# SonarQube is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# 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
-
-  def self.up
-    create_table :measure_data do |t|
-      t.column :measure_id, :integer, :null => true
-      t.column :snapshot_id, :integer, :null => true
-      t.column :data, :binary, :null => true
-    end
-    add_index :measure_data, :measure_id, :name => 'measure_data_measure_id'   
-  end
-
-end
\ No newline at end of file
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
new file mode 100644 (file)
index 0000000..76a2a08
--- /dev/null
@@ -0,0 +1,31 @@
+#
+# SonarQube, open source software quality management tool.
+# Copyright (C) 2008-2014 SonarSource
+# mailto:contact AT sonarsource DOT com
+#
+# SonarQube is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 3 of the License, or (at your option) any later version.
+#
+# SonarQube is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# 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
+
+  def self.up
+    create_table :measure_data do |t|
+      t.column :measure_id, :integer, :null => true
+      t.column :snapshot_id, :integer, :null => true
+      t.column :data, :binary, :null => true
+    end
+    add_index :measure_data, :measure_id, :name => 'measure_data_measure_id'   
+  end
+
+end
\ No newline at end of file