Hi. I feel like i asked this already long time ago...
# exposed
n
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
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