Refactored the database schema and migrations.