I wonder is there way to change default foreign key name from 'id' to another one.
For example,
- Code: Select all
t.relationManyToOne(& class_name::pointer_name, "foreign_key_name");
t.relationManyToOne(& class_name::pointer_name, "foreign_key_name");
I wonder is there way to change default foreign key name from 'id' to another one.
Now works.
Users browsing this forum: No registered users and 4 guests