Workaround for ActiveRecord database configuration bug.