I am not sure I understand your question.

But if I think I do, then you want data from one column/table to be
just magically created in another table?

You would have to achieve this by first adding the column and then
executing a SELECT, looping over the data and then issuing an INSERT
(or an UPDATE).

The toolkit has methods for arbitrary query execution, for exactly
these purposes.

For docs, check out

http://code.google.com/p/ruckusing/wiki/MigrationMethods

And scroll to the very bottom and look at "Query Execution -> Queries
that return results".

/cody

On Sep 24, 12:43 pm, "Sonic Baker" <[EMAIL PROTECTED]> wrote:
> hmmm....
>
> I was thinking along the lines of introducing a new association. So a field
> with values in one table may have to be replaced with a foreign key field to
> a new/existing table holding the data previously in the original table. The
> new field in the original table would then have to be filled with id's which
> match the entries in the new table.
> Perhaps this is holy grail type of functionality but I was just checking
> just in case.
>
> Cheers,
>
> Sonic


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to