Tom Hughes
3e99bbf5a9
Remove lib prefix from includes for ruby 1.9 compatibility
2012-01-05 20:33:19 +00:00
Tom Hughes
9bc483ad98
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.
2009-05-27 15:25:28 +00:00
Thomas Wood
68ea927f5b
Merge r15175 from i18n_2 branch.
2009-05-26 22:33:28 +00:00
Andy Allan
4adeeb51ad
remove indexes before renaming tables (some dbs have database-level index namespaces) and unsigned is also a mysqlism
2008-11-09 19:30:22 +00:00
Tom Hughes
61dd59712e
Rescale GPS points correctly when downgrading from v5 to v4.
2007-09-28 23:33:32 +00:00
Tom Hughes
e7d834625c
Fall back to a pure ruby update implementation if the tile_for_point
...
function is not present in MySQL.
2007-09-28 23:18:13 +00:00
Tom Hughes
9afb35449b
Change the gps_points table to store latitude and longitude values to
...
seven decimal places to given a worse case precision of about 1cm.
2007-09-18 23:29:47 +00:00
Tom Hughes
62dfa5ff45
Make the tile ID column unsigned as intended.
2007-09-18 23:06:40 +00:00
Tom Hughes
ebef7b8009
Add a migration to upgrade gps_points for quad tile support.
2007-09-12 17:59:48 +00:00