Hi. I feel like i asked this already long time ago, but: how do i create multi-column PK (i.e. for many-to-many join tables)? do i just call primaryKey() on all required columns? ... It does.
t
tapac
02/22/2018, 1:32 PM
Yes, you can just call primaryKey() function and it will register all columns in order they are declared in table. or you may use index (param of primaryKey fun) to reorder it