I'm wondering if it's possible to scaffold an existing table or even create controller/model separately.
When I tried scaffolding an existing table, it didn't even know the table exists. When I ran: oil g model my_existing_table
I got:
Error: No fields have been provided, the model will not know how to build the table.
Thanks.
I need the same thing, but i was asking myself if it's a "good" way to "generate" controllers/views by precising fields (just to cut/paste from any sql backend) and don't use refine migrate ?
Like this, we can have admin and template views, and no problem with existing base ?
What about this ?