FIX: remap shouldn't fail silently when an error occurs
This commit is contained in:
parent
c9feadf9ec
commit
91b73e0c2d
|
@ -264,6 +264,8 @@ WHERE table_schema='public' and (data_type like 'char%' or data_type like 'text%
|
|||
puts "#{result.cmd_tuples} rows affected!"
|
||||
rescue => ex
|
||||
puts "Error: #{ex}"
|
||||
puts "The remap has only been partially applied due to the error above. Please re-run the script again."
|
||||
exit(1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue