resync from rails_port 11795:12304
[rails.git] / db / migrate / 019_populate_node_tags_and_remove.rb
similarity index 94%
rename from db/migrate/018_populate_node_tags_and_remove.rb
rename to db/migrate/019_populate_node_tags_and_remove.rb
index 2a3f3c9881f13d0e6f0c2415364eda229a967bd2..8603586463f8b8330583a33bf67d87dd737d5257 100644 (file)
@@ -3,9 +3,9 @@ class PopulateNodeTagsAndRemove < ActiveRecord::Migration
     have_nodes = select_value("SELECT count(*) FROM current_nodes").to_i != 0
 
     if have_nodes
-      prefix = File.join Dir.tmpdir, "017_populate_node_tags_and_remove.#{$$}."
+      prefix = File.join Dir.tmpdir, "019_populate_node_tags_and_remove.#{$$}."
 
-      cmd = "db/migrate/018_populate_node_tags_and_remove_helper"
+      cmd = "db/migrate/019_populate_node_tags_and_remove_helper"
       src = "#{cmd}.c"
       if not File.exists? cmd or File.mtime(cmd) < File.mtime(src) then 
         system 'cc -O3 -Wall `mysql_config --cflags --libs` ' +