From: Tom Hughes Date: Wed, 27 May 2009 15:25:28 +0000 (+0000) Subject: Only use the db functions for migrations if USE_DB_FUNCTIONS is set X-Git-Tag: live~7489 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/9bc483ad98e45ac3496494663e0f198438d9af04?ds=sidebyside;hp=9bc483ad98e45ac3496494663e0f198438d9af04 Only use the db functions for migrations if USE_DB_FUNCTIONS is set in the environment. This could possibly be revisited when we move to rails 2.3 by using a nested transaction to try the function without causing the surrounding transaction to abort. ---