Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Scaffold an existing table
  • 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.
  • This is currently not supported. If you want this feature, please add a feature request at http://github.com/fuel/oil/issues.
  • 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 ?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion