Commit graph

14 commits

Author SHA1 Message Date
Tom Hughes
eada36ff96 Switch to using the zeitwork autoloader 2020-12-30 20:30:21 +00:00
Tom Hughes
b606acba0c Use rails 4.2 defaults for older migrations 2019-04-24 11:14:05 +01:00
Tom Hughes
29a780eb1a Add rails version number to migrations 2017-10-17 18:49:55 +01:00
Tom Hughes
5b33f3f8e3 Fix rubocop warnings 2017-06-02 00:08:30 +01:00
Tom Hughes
dc2a2c8ebd Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
Tom Hughes
ef7f3d800c Fix most auto-correctable rubocop issues 2015-02-20 08:56:16 +00:00
Tom Hughes
34e3e51456 Cleanup trailing whitespace 2015-02-20 08:56:16 +00:00
Tom Hughes
ac7bb003ec Cleanup migrations
Cleanup our migrations, replacing as much of our custom code
and monkey patching with modern standard rails methods.
2015-01-11 12:53:01 +00:00
Tom Hughes
3e99bbf5a9 Remove lib prefix from includes for ruby 1.9 compatibility 2012-01-05 20:33:19 +00:00
Tom Hughes
9c0f288bb7 Explicitly set the default for home_lat and home_lon to null. 2009-04-09 17:11:04 +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
Andy Allan
91374368fa Move db engine changing into db adaptor monkeypatch 2008-11-08 18:04:36 +00:00
Andy Allan
fc9046ce6f Moving AUTO_INCREMENTs to monkeypatching. Seems a bit hacky though 2008-11-08 16:47:02 +00:00
Tom Hughes
f601f014ca New database migration to cleanup lots of things. 2007-07-29 19:30:11 +00:00