Re: how to load initial data?

2009-09-02 Thread Thiago Nuic Vidigal
you can create a custom shell to do it... On Wed, Sep 2, 2009 at 4:21 PM, Miles J wrote: > > Cake doesnt import x amount of rows into your database. I ran into the > same problem months ago, I had to write my own scripts to populate > with test data. > > > --~--~-~--~~~-

Re: how to load initial data?

2009-09-02 Thread Miles J
Cake doesnt import x amount of rows into your database. I ran into the same problem months ago, I had to write my own scripts to populate with test data. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group

Re: how to load initial data?

2009-09-02 Thread Zé Ricardo
Hi Vijay Kumbhar, thanks for you answer, but I have already read it. I'm actually not THAT beginner. I wanted a higher level solution, like the migration plugins, not SQL. Does anyone know something like this? On Wed, Sep 2, 2009 at 1:24 PM, Vijay Kumbhar wrote: > Hello Ricardo, > > Please try ou

Re: how to load initial data?

2009-09-02 Thread Vijay Kumbhar
Hello Ricardo, Please try out with the basic cakephp assignment, http://book.cakephp.org/view/219/Blog 2009/9/2 Zé Ricardo > > Hi, I'm a cakephp beginner and I'm wondering how I can load initial > data in my database (eg. some users and groups). I thought fixtures > could do the task, but it

how to load initial data?

2009-09-02 Thread Zé Ricardo
Hi, I'm a cakephp beginner and I'm wondering how I can load initial data in my database (eg. some users and groups). I thought fixtures could do the task, but it seems that they can only be used for tests, right? Is there a plugin or even a standard way to do it? I've found some migration scripts