Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
VERY BASIC Scaffold question
  • Hi, I'm actually ashamed of this dumb question :D When I build a scaffold via OIL, does it have to create the database tables for me? I'm on MAMP and currently it does not. What I do is create the database tables first, then create the scaffolding. Your thoughts please. Thanks. -Arnold
  • When you do scaffold generation, you get migration files, which when run, will create the database tables for you. You just have to remember to run the following command after the scaffold generation
    $ php oil refine migrate

    More information:

Howdy, Stranger!

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

In this Discussion