#5502: Schema shell 'generate' fails to recognize multiple database connections
----------------------------+-----------------------------------------------
Reporter: sneeka2 | Owner:
Type: Enhancement | Status: new
Priority: Medium | Milestone:
Component: Schema | Version:
Severity: Normal | Resolution:
Keywords: | Php_version: PHP 5
Cake_version: |
----------------------------+-----------------------------------------------
Comment (by antonienko):
Replying to [comment:6 sneeka2]:
> {{{
> $ cake schema -name ModelA -connection ConnectionA generate
> Error: Missing database table 'model_bs' for model 'ModelB'
> }}}
> ModelB uses ConnectionB and it was not specified via -name, yet
{{{generate}}} fails on it. I fail to see how this is not a bug. For the
support forum please see here: [http://groups.google.com/group/cake-
php/msg/27b95422504f5860?hl=en]
I have exactly the same problem, multiple databases, and no way to
generate the schema for each one of them.
--
Ticket URL: <https://trac.cakephp.org/ticket/5502#comment:7>
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
-~----------~----~----~----~------~----~------~--~---