1. Replace Redis in rotations code with database 2. Amend/write necessary tests 3. Add one-off script for migrating existing Redis data to database