Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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...
               ^


Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
2
wrz 15
6926
1
lip 15
19902
2
cze 24
2498
1
sty 24
9108
0
paź 24
3907