jimmyhowedotcom jimmyhowedotcom
1

Multiple Pivots?

Hey, what would be the best approach for this scenario... So I want users to be able to create a challenge, then others can take part in this challenge. however the...
hachich46 hachich46
1

One table with multiple pivots tables

Hi everyone, these are relations in my models : Medecine belongsto many Pharmacologic and Pharmacologic belongsto many Medecine Medecine belongsto many Thera...
hachich46 hachich46
2

One table with multiple pivots tables

Hi everyone, these are relations in my models : Medecine belongsto many Pharmaceutic and Pharmaceutic belongsto many Medecine Medecine belongsto many...
GTHell GTHell
3

Multiple pivot table or one pivot table with multiple columns?

What is better when designing a many-to-many relation? For instance, I have a table users has relationship with projects table and the column that has many to many are like...
Tips
3
179
jbowman99 jbowman99
0

Multiple Pivot tables and relationships

I am writing a CRM and I am trying to create several pivot tables to create all of the relationships needed. Users can have several rep_id's so I want to separate these int...
thewoodcutter thewoodcutter
2

ManyToMany not gathering multiple pivot entries

Hi I've been struggling for days now with a many to many relationship where I have profiles and users models. I want to get all the followed profiles that a user is relate...
khkassem khkassem
6

morphToMany morphedByMany adding Multiple Pivot data

Hi I am trying to use polymophed relation with Laravel and Eloquent, My Databse : Employee, EmployeeWorksFor, Section, Department An employee ca...
Eloquent
6
1019
naviocean naviocean
0

Issue get table with multiple pivot

Hello Guys, Here is my design database: Booking: id, status, transaction BookingItemOfferPair: id, booking_id, item_offer_pair_id...
vitorf7 vitorf7
1

Search on a table with multiple pivot joins

Hi everyone, I am doing a project in which I have the following tables: media_file_downloads | id | user_id | media_file_id | |----|---------|--------...
austenc austenc
0

Is there a better way to set multiple pivot values at once?

I have 3 tables: students, instructors, and instructor_student. The idea is that an instructor can be set as the 'current owner' of...
hcvbrandservices hcvbrandservices
5

Multiple Tag (Pivot Table) Searching

I'm having some trouble finding a solution to something I'm trying to implement. I have an Asset table and a Tags table. An Asset (ex. Image of a family in a pool)...
KarolGil KarolGil
6

Laravel pivot multiple table condition

Hi, // I have tables: post: id, body comment: id, body rate: id, name // Intermediate tables: post_comment: id, post_id, comment_id post_rate: id, post_id,...
jabshire jabshire
1

Multiple Joins with Pivot Tables

I have several tables: books (collection of books) authors (collection of authors) publishers (collection of publishers) author_book...
_Zaman _Zaman
20

display pivot table multiple data into blade

Hi, I have a user table, meeting table, and a pivot table meeting_user. I need to show meeting table data and pivot table data. I can display normal foreign key data using...
Laravel
20
866
Dahdoul Dahdoul
2

Save multiple data to pivot table

Hello, I have post where belongs to many categories, I'm trying to save multiple categories for one post to pivot table (category_post), but whenever I submit the p...
Laravel
2
920
zaster zaster
3

Many to Many - Retrieve multiple records through pivot table

Invoice and SubJob Models have a Many to Many Relationship I want to do something like this $assign...
General
3
667
zaster zaster
4

Saving Additional Data On A Pivot Table (Multiple Entries)

I am unable to insert $sub_job_qtys and $sub_job_description 1366 Incorrect integer value: '[1,1]' for column 'qty' at row...
General
4
553
ivan2nn ivan2nn
2

Pivot table for multiple many-to-many relationships

I am no expert with databases and I have to face thsir problem. I know how to make a pivot table for many-to-many relationship between two models. I would like to know how...
lovatt lovatt
3

Multiple relationships on one pivot table?

I'm trying to have more than one relationship on a pivot table is this possible? screenshot of schema : http://sna...
fazilhussain fazilhussain
0

Relationship multiple foreign keys in pivot table

I have 3 tables services levels deadlines. Suggest me the way to define relationship with packages (pivot table) in this...
Create a New Discussion Button