el-cms / superBake

superBake repository for CakePHP 2.3.x
Other
12 stars 2 forks source link

No support for tables names different of model names #28

Open mtancoigne opened 10 years ago

mtancoigne commented 10 years ago

Currently, superBake creates models expecting the corresponding table exists.

An option should be created in the config file to handle this, and the sbc::populate() method should take care of it.

defaults:
  model:
    ## Model name
    name: <modelName>
    ## Table name in DB
    tableName: <tableName>
    <other options>