Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 373 Bytes
#!/usr/bin/env ruby
Dir.chdir("#{File.dirname(__FILE__)}/../../..") do
require 'config/environment'
if ActiveRecord::Base.connection.instance_variable_get('@config')[:adapter] == 'postgresql'
puts "Installing PostgreSQL stored procedures"
with_svn = File.exist?(".svn") ? "--svn" : ""
exec "script/generate ultrasphinx_migration #{with_svn}"
end
end
Jump to Line
Something went wrong with that request. Please try again.