Sorry, I've read your code wrong. What's the schema for
themes table? Is
code primary key of
Yes it is. code is the primary key for themes table and id is the primary key for the users table. the pivot table theme_user has user_id and theme_code as columns
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us