Existing data is definitely NOT hosed. As Grant Cox points out below,
its really for schema modification. And the only data changes that
might be executed were if you wrote any DROP table / column
statements.
Also, data from an arbitrary DB can be generated via set of INSERT
statements, which in turn is generated by mysqldump (for example, if
MySQL is your DB). Just look at the "-t" flag to mysqldump which
suppresses the CREATE statements and just emits pure INSERT
statements.
Assuming your table structures have not changed, thats all your data.
/cody
On Sep 17, 10:16 am, "Sonic Baker" <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> On 9/11/07, gonzoprosperity <[EMAIL PROTECTED]> wrote:
>
>
>
> > //populate it with some default data
> > $this->execute("INSERT INTO users (...) VALUES (...)");
>
> > Does this answer your question?
>
> I was wondering if, once the new schema is defined, can the data from the
> old structure be imported automatically from the old schema, via any method.
> I guess no is the answer then.
> Thanks for your help.
>
> 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
-~----------~----~----~----~------~----~------~--~---