]> git.openstreetmap.org Git - rails.git/commitdiff
Minor fix for the migration that was moved
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Thu, 25 Sep 2008 15:57:59 +0000 (15:57 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Thu, 25 Sep 2008 15:57:59 +0000 (15:57 +0000)
db/migrate/017_populate_node_tags_and_remove.rb

index 29a91c70be47ddc140cfd1412ceac18c5dac0e59..9a87fe2bab9d4dccb48e1de5c08a889474fe3721 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, "013_populate_node_tags_and_remove.#{$$}."
+      prefix = File.join Dir.tmpdir, "017_populate_node_tags_and_remove.#{$$}."
 
-      cmd = "db/migrate/013_populate_node_tags_and_remove_helper"
+      cmd = "db/migrate/017_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` ' +