IF I create a table A with column id, Table B with column id and a_id,
then A.id and B.a_id is a one to many relation
when i drag b.a_id to a.id the relation name is called B_a_id_fk, and A is primary and B is foreign, this is correct
but, when i drag a.id to b.a_id, the relation name is called A_id_fk, B is primary, A is foreign, this is not correct,
so, i can use swap function to adjust which is the primary, then A is primary and B is foreign, this is correct, but the foreign key name is also called A_id_fk
so can it autoamtically correct the fk name when swap?
IF I create a table A with column
id
, Table B with columnid
anda_id
, then A.id and B.a_id is a one to many relationwhen i drag b.a_id to a.id the relation name is called B_a_id_fk, and A is primary and B is foreign, this is correct
but, when i drag a.id to b.a_id, the relation name is called A_id_fk, B is primary, A is foreign, this is not correct,
so, i can use swap function to adjust which is the primary, then A is primary and B is foreign, this is correct, but the foreign key name is also called A_id_fk
so can it autoamtically correct the fk name when swap?