Klucz złożony knex
table.primary(['name_of_column_1', 'name_of_column_2']);
Sparkling Snail
table.primary(['name_of_column_1', 'name_of_column_2']);