- Move MySQL migrations into a separate class - Add migration for last IP column to be nullable if it has a not null constraint without a default value
- Detect if a migration is necessary - Create a backup - Perform the migration