Open peterdesmet opened 1 month ago
Hmmm isn't it more correct in the singular? Although the primary key for a table may be determined by multiple fields, there is only one primary key definition per table. Whereas many foreign key and unique key definitions can exist simultaneously in a given table, so the plural there makes sense.
I'm less familiar with DB design so maybe I'm missing something?
For consistency, I think we should deprecate
primaryKey
in favour ofprimaryKeys
:I notice myself typing
primaryKeys
(plural), forgetting that is not a property of Table Schema.