Additional information to pivot table (read/writte)

Posted In Voyager
  • ivan-ortega 1 month ago
    Hello, I'm trying to add additional content to the pivot table and I dont know how to do it.
    I mean, when you make a relationship belongs to many, it allows you to choose multiple 'names' for example, in my case I want to choose the 'name' and add to this relationship a 'description'. Is this possible? If so, how should I do it? Thanks
    
    Table 1: 
    - ID
    - Name
    
    pivot
    - Id table 1
    - id table 2
    - Description <- *I want to save here*
    
    Table 2:
    - id
    - name
    
    What I have:
    ![](https://i.stack.imgur.com/3KhWN.png)
    
    What I want:
    ![](https://i.stack.imgur.com/Q54wr.png)

    Hello, I'm trying to add additional content to the pivot table and I dont know how to do it. I mean, when you make a relationship belongs to many, it allows you to choose multiple 'names' for example, in my case I want to choose the 'name' and add to this relationship a 'description'. Is this possible? If so, how should I do it? Thanks

    Table 1:

    • ID
    • Name

    pivot

    • Id table 1
    • id table 2
    • Description <- I want to save here

    Table 2:

    • id
    • name

    What I have:

    What I want:

Please login or signup to leave a response.

Login

or Sign Up

Sign Up

or Login
×
tnylea
Cheers Friend!

I'm Tony, the creator of this site. I'm trying to increase my twitter following. Want to follow me?

Follow @tnylea If not, no worries :)