[Closed] Foreing key name

0 votes
asked Feb 10, 2017 in Solved by Roche (240 points)
recategorized Mar 17, 2017 by ludek.vodicka

Hello,

Is it possible to create a foreign key constraint name in associations.
on the same model of column name in the database
I would like to normalize the name of my foreign key constraints.

Thank you

1 Answer

+1 vote
answered Feb 10, 2017 by ludek.vodicka Skipper developer (140,450 points)

Hi. As long as your ORM supports it (you didn't wrote which one) it is possible to do that in Skipper.

Please post here sample of schema file and we can assist you how to configure it in Skipper

commented Feb 10, 2017 by Roche (240 points)

Hi,
Thanks for your answer.
My ORM is Doctrine.

commented Feb 10, 2017 by ludek.vodicka Skipper developer (140,450 points)

Great. And do you know how to write it in Doctrine?

commented Feb 10, 2017 by Roche (240 points)

No, I don't know.
I search response.
Thanks

commented Feb 10, 2017 by ludek.vodicka Skipper developer (140,450 points)

Ok. In this case please ask on Doctrine forum or StackOverflow. We're not Doctrine experts so we can't help you.

But as soon as you will have example of Doctrine schema file we can help you how to model it in Skipper.

commented Feb 10, 2017 by Roche (240 points)

OK Thank you

...