You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Postgres, the key field has a primary key constrain. It is visible with: select * from information_schema.table_constraints where table_name='change_log'.
This does not appear to come from the model definition.
In app.py, ChangeLog entries are addedwith a simple append operation.
The text was updated successfully, but these errors were encountered:
that's a mistake; either there should be no primary key; or a secondary key in combination with some other (but which field, i dunno - key will eventually result in duplicates; date doesn't make much sense - or does it?)
The error is on the Records table, not ChangeLog as previously thought.
The log file shows:
In Postgres, the key field has a primary key constrain. It is visible with: select * from information_schema.table_constraints where table_name='change_log'.
This does not appear to come from the model definition.
In app.py, ChangeLog entries are added with a simple append operation.
The text was updated successfully, but these errors were encountered: