llave compuesta Knex
table.primary(['name_of_column_1', 'name_of_column_2']);
Sparkling Snail
table.primary(['name_of_column_1', 'name_of_column_2']);