Only use the db functions for migrations if USE_DB_FUNCTIONS is set
authorTom Hughes <tom@compton.nu>
Wed, 27 May 2009 15:25:28 +0000 (15:25 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 27 May 2009 15:25:28 +0000 (15:25 +0000)
commit9bc483ad98e45ac3496494663e0f198438d9af04
treec43f9129d92df98d820f2cce244e1b0b685fe45e
parent044febd3aae31713ff60938333766c45c788e62d
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.
db/migrate/005_tile_tracepoints.rb
db/migrate/006_tile_nodes.rb