Try "doctrine:rebuild-db" to tear the database down and rebuild from
scratch.

Also, you might want to look at symfony migrations:
http://www.symfony-project.org/doctrine/1_2/en/07-Migrations

Migrations are an easy way to make changes to your database schema
once in production (when you can't rebuild the db, because you'll lose
data), and probably a good thing to get in the habit of using while in
development.

That said, I just launched my first symfony site, so this is just my
opinion, may be a better practice out there.

Justin

On Jul 16, 5:35 am, tirengarfio <tirengar...@gmail.com> wrote:
> Hi,
>
> yesterday i created some tables from an schema using "doctrine:build-
> all-load".
>
> Today i have changed some things in that schema, so after that i have
> removed the database, i have created a new one and finally i have
> executed again "doctrine:build-all-load" to generate the new tables
> with the changes i have just made.
>
> But when i check the new tables nothing has changed.
>
> So, what i have to do to update my tables correctly?
>
> Ciao
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to