Fix the database setup, migrate and seeds