So you have different models using different connections, and when
specifying a -connection
the shell is attempting to schem-ify models not using that connection?
If that is the case please open a ticket, with some examples on how to
reproduce it.
-Mark
On Sep 30, 1:53 am, "David C. Zentgraf" <dec...@gmail.com> wrote:
> Speaking of which...
>
> I have multiple connections in my database.conf. Running a 'cake
> schema generate' always quits with "Error: Missing database table 'x'
> for model 'y'". Even doing 'schema -connection alt -name Model
> generate' quits with the same message. Depending on which '-
> connection' I specify it quits on different models, so it seems it
> always tries to generate schemas for all models, ignoring my flags.
>
> Am I misusing the schema shell or should I open a ticket?
>
> Chrs,
> Dav
>
> On 30 Sep 2008, at 05:03, mark_story wrote:
>
> > In 1.2 there is a builtin Schema shell (console app) that can manage
> > things like ALTER statements that need to be run on a db between runs.
> > To my knowledge it doesn't insert records. From a prompt cd into
> > cake/
> > console and try cake schema help. That will give you a list of
> > commands supported by the SchemaShell.
>
> > -Mark
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment