Is it possible to create a table without a model? I have a model called user and stomach. I want the user to have only one pet and pet very easy However, I am trying to explain how to prepare a connection table
Pets users who are both users. IDs and pets. Without making real models in it Is this possible? Is this a bad design?
If possible, how do I create a new entry in the Pet Table?
You do not need an included table for this. The pet table will have a user_id column and the rest handle for the active record.
Does you
Comments
Post a Comment