Looking for query for Account Details after 10.6

Looking for query for Account Details after 10.6

Recently switching from 10.5 to 10.6, some custom PowerBI reports stopped working seemingly due to database changes.  Connecting with ODBC, I can see that while the accountci table used to be tied to the accountdefinition table by the ciid value on each, I can see that there is no longer a ciid column in the accountdefinition table. 

I suppose my question is how are the accountdefinition and accountci tables tied together at this point?  If there's a particular table that ties the two together matching a key value from accountdefinition to the ciid in the accountci table, I can't find it. 

Can anyone point me in the right direction?

                New to ADSelfService Plus?