From 629843b96bcd0e58116f8d77b4b02f2c49912976 Mon Sep 17 00:00:00 2001 From: Shaun McDonald Date: Thu, 25 Sep 2008 15:57:59 +0000 Subject: [PATCH] Minor fix for the migration that was moved --- db/migrate/017_populate_node_tags_and_remove.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/017_populate_node_tags_and_remove.rb b/db/migrate/017_populate_node_tags_and_remove.rb index 29a91c70b..9a87fe2ba 100644 --- a/db/migrate/017_populate_node_tags_and_remove.rb +++ b/db/migrate/017_populate_node_tags_and_remove.rb @@ -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` ' + -- 2.43.2