Ir al contenido
Menú
Se marcó esta pregunta

I'm trying to add a new many2many relation table to add extra fields inside not just the foreign keys for example I want to add color, date, and status, but whenever running the module I receive the error that the id of the table not exist 

psycopg2.errors.UndefinedColumn: column tableName.id does not exist
LINE 1: SELECT "tableName".id FROM "tableName...
               ^


Avatar
Descartar

it will be better if you add the relevant part of the code along with the question

Publicaciones relacionadas Respuestas Vistas Actividad
2
sept 15
6886
1
jul 15
19871
2
jun 24
2446
1
ene 24
9103
0
oct 24
3907