composite key knex code example Example: composite key knex table.primary(['name_of_column_1', 'name_of_column_2']);