Fix postgres sequence out of sync on insert
https://arctype.com/blog/postgres-sequence/
-> find automatic solution especially for workspace tables
https://arctype.com/blog/postgres-sequence/
-> find automatic solution especially for workspace tables