I have a legacy database and I would like to bake some tables.
One of the tables has the name “tcnt” but I want that the Bake call it as “countries”.
What I am trying to do:
But it always returns an error: “Error: Unknown option
I saw it as an example here:
If i remember right you have to bake the model first in this case and then you can bake the rest like
cake bake model Countries --table tcnt
I don’t think table is an option for all
I will test it. Thanks.
Please, could you tell me what do you means with “rest”?
“… then you can bake the rest like cake bake model …”