Category: one-to-one

Doctrine generating query with wrong table alias – Symfony 5

I’m trying to insert an user in my database and doctrine generate before this : An exception occurred while executing ‘SELECT t0.id AS id_1, t0.name AS name_2, t0.first_name AS first_name_3, t0.username AS username_4, t0.password AS password_5, t0.aRoles AS aRoles_6, t0.create_date…