- Modified the unique_together constraint for the User model to only require uniqueness on the email field, removing device_id from the constraints. - Added a migration to apply this change to the database schema.