MODX Community

MIGXdb. How to use 2 tables in one package?

Good day!

Please tell me if it is possible to somehow connect 2 migxdb configurations to use 2 tables in a package. Now I made 2 different packages (cars and cars_photos), but I’m sure this is the wrong solution. I can’t use CMP cars_photos in CMP cars (on a separate “Photos” tab). It simply displays “No items found” after clicking on “Load grid” (although loading the table should be automatic because “auto” is indicated). Maybe I just didn’t correctly add the field to formtabs (input TV is the name of the migxdb configuration “car_photos”, input TV type is “migxdb”). Where can I read about creating a package with two separate databases?

1 Like

usualy, you would put all table - definitions into one schema,
example

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.