Postgresql – How to auto increment one column of a postgres composite primary key?
I am making a simple note app, and I want to create a table to track a note's edit history and save them with an incrementing version as a composite key with the note's id. So for example: note_id |…