Posts by Fábio Fischer • 43 points
1 post
-
4
votes1
answer2433
viewsQ: Postgresql - Partial Foreign Key of Composite Primary Key
Fala galera, I need to create a structure model where all my tables have primary key composed by id and version, so I can have multiple versions for each id. Problem: CREATE TABLE table1 { id…