pgsync icon indicating copy to clipboard operation
pgsync copied to clipboard

Draft: fix handling through table

Open stefano-tilt opened this issue 3 years ago • 1 comments

Hi @toluaina, can you take a look at this draft PR? I am trying to fix the IndexError: list index out of range error when trying to do an insert in a through table

There's already a PR raised from @mpaolino here, but it's not resolving for me. This is how my data model looks like

my_customer_groups:
     fk my_customer_id   (to id in my_customers)
     fk my_group_id         (to id in my_groups)

my_customers
     pk id
     name

my_groups 
     pk id
     group_name

Can you shed some light what would be the preferred approach?

Thanks

stefano-tilt avatar Dec 07 '22 11:12 stefano-tilt

#413 should fix this issue

Shankar-khati avatar Jan 24 '23 07:01 Shankar-khati