]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/008_remove_segments.rb
Switch to using native rails support for managing Postgres enumerations
[rails.git] / db / migrate / 008_remove_segments.rb
index c528742c9f44c825f3c0f903554a7dcf1f6d7edb..504528e4ce7ad9c933a4885700928f8fa5fef6ae 100644 (file)
@@ -9,7 +9,7 @@ class RemoveSegments < ActiveRecord::Migration[4.2]
       src = "#{cmd}.cc"
       if !File.exist?(cmd) || File.mtime(cmd) < File.mtime(src)
         system("c++ -O3 -Wall `mysql_config --cflags --libs` " \
       src = "#{cmd}.cc"
       if !File.exist?(cmd) || File.mtime(cmd) < File.mtime(src)
         system("c++ -O3 -Wall `mysql_config --cflags --libs` " \
-          "#{src} -o #{cmd}") || raise
+               "#{src} -o #{cmd}") || raise
       end
 
       conn_opts = ApplicationRecord.connection
       end
 
       conn_opts = ApplicationRecord.connection