Displaying 1 result from an estimated 1 matches for "tablex_id".
Did you mean:
table_id
2006 Feb 19
1
One Model from two Tables with no foreign keys
...)
data1
Table2
----------
id (PK)
data2
There is a one-to-one relationship between the records of Table1 and
Table2. (That is, for every record in Table1 there is a record with
matching id in Table2 and vice versa).
The problem is that I cannot alter the table schemas in any way, so I
cannot add tableX_id columns to create foreign key relationships.
What would be the proper implementation of this problem?
If it makes matters easier, I only require read access.
Thank you in advance for the help!