The error message suggests that the "id" column is still being referenced somewhere in the code. One solution is to override the default incrementing behavior of the Eloquent model by setting the $incrementing property to false and the $keyType property to 'string' in the User model:
class User extends Model
{
public $incrementing = false;
protected $keyType = 'string';
protected $primaryKey = 'usr_id';
// ...
}
Then, in the migration file, use the following code to create the "usr_id" column as the primary key:
$table->uuid('usr_id')->primary();
Make sure to drop the "id" column if it already exists in the users table.