Tom Hughes
f2f0cf1ad9
Switch to using native rails support for managing Postgres enumerations
2023-11-15 18:25:05 +00:00
Tom Hughes
eada36ff96
Switch to using the zeitwork autoloader
2020-12-30 20:30:21 +00:00
Tom Hughes
e6667b7ff5
Fix rubocop warnings
2019-11-27 11:47:16 +00:00
Andy Allan
d130db9fa8
Avoid more models in old migrations
...
Although these migrations run fine today, they could break in the future
if changes are made to the current model code.
2019-07-17 12:16:20 +02: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
360333d37d
Modernise use of find and update_all in database migrations
2014-04-27 19:18:35 +01:00
Tom Hughes
3e99bbf5a9
Remove lib prefix from includes for ruby 1.9 compatibility
2012-01-05 20:33:19 +00:00
Tom Hughes
5a54630b57
Add support for suspended and confirmed users
...
Replace the existing "active" and "visible" with an enumerated status
that allows for extra cases. Currently we have "suspended" for users
who hve triggered the spam detector and "confirmed" for users that have
triggered the detector but have been confirmed as vald by an admin.
2010-05-06 17:18:34 +01:00