Can modifying the default Rails primary keys cause any problems?

Asked

Viewed 81 times

0

By default, Rails generates the id field for all my tables and I would like to know if, in the future, it can generate an error if I change the name and type of the key. I ask this because I realized that Rails has some naming conventions that must be followed. I apologize if the question is a bit silly, but I am concerned about the possibility of having problems in the future.

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.