Re: shemas evolution

2007-09-23 Thread Jonathan Buchanan
Alexandre Forget wrote: > I wonder what people are using *right now* to evolve their data ? > > I'm using this: > > # create a fixture with all data in the current db > python manage.py dumpdata --indent=4 > initial_data.json > > # delete de database > rm db.sqlite > > # edit the model > >

Re: shemas evolution

2007-09-23 Thread James Bennett
On 9/23/07, Alex Koshelev <[EMAIL PROTECTED]> wrote: > There is limited functionality for ALTER in sqlite Which is why I only use PostgreSQL. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~-~--~~~---~--~~ You received

Re: shemas evolution

2007-09-23 Thread Alex Koshelev
There is limited functionality for ALTER in sqlite On 23 сент, 09:19, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 9/22/07, Alexandre Forget <[EMAIL PROTECTED]> wrote: > > > I wonder what people are using *right now* to evolve their data ? > > ALTER TABLE. > > No, really ;) > > -- >

Re: shemas evolution

2007-09-22 Thread James Bennett
On 9/22/07, Alexandre Forget <[EMAIL PROTECTED]> wrote: > I wonder what people are using *right now* to evolve their data ? ALTER TABLE. No, really ;) -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~-~--~~~---~--~~ You

shemas evolution

2007-09-22 Thread Alexandre Forget
I wonder what people are using *right now* to evolve their data ? I'm using this: # create a fixture with all data in the current db python manage.py dumpdata --indent=4 > initial_data.json # delete de database rm db.sqlite # edit the model # recreate db and reload data manage syncdb