l2ival
DTDrizzle Team
•Created by miigaarino on 7/4/2023 in #help
Many to many - Planetscale
You need both the junction table and the relations, i just was looking at the highlighted portion in the doc
42 replies
DTDrizzle Team
•Created by miigaarino on 7/4/2023 in #help
Many to many - Planetscale
okay disregard i think i got it, was confused move between the docs
42 replies
DTDrizzle Team
•Created by miigaarino on 7/4/2023 in #help
Many to many - Planetscale
My first thought was to add the column
order
on the "junction table" but maybe it should be on the activity table itself?
And thought would it be possible to define on the relations42 replies
DTDrizzle Team
•Created by miigaarino on 7/4/2023 in #help
Many to many - Planetscale
Say i have a Workout with multiple activities, but i want to define an order on the relation
so an activity is always in the same spot on the workout.
42 replies
DTDrizzle Team
•Created by miigaarino on 7/4/2023 in #help
Many to many - Planetscale
@Angelelz With this using
relations
Can you add additional columns when using relations()?42 replies