#6485: Option to specify db config when baking controllers
-------------------------------------------+--------------------------------
Reporter: heathnail | Type: Enhancement
Status: new | Priority: Medium
Milestone: 1.3.x.x | Component: Shells
Version: 1.2 Final | Severity: Normal
Keywords: connection bake controller | Php_version: n/a
Cake_version: |
-------------------------------------------+--------------------------------
It would be nice to specify what db config bake will look to when baking
controllers. I think a commandline argument would be nice (similar to cake
schema):
{{{
-connection <config>
set db config <config>. uses 'default' if none is
specified
}}}
Currently (1.2.3.8166) you cannot easily bake a controller whose
model/table isn't in the default database config.
Attaching patch as it seems an easy add...
--
Ticket URL: <https://trac.cakephp.org/ticket/6485>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---