Re: Database and migrations are out of sync.

2015-04-24 Thread felix
El 24/04/15 12:16, Tim Graham escribió: I don't think so. When you create your initial migrations, you need to ensure they match the scheme of your database. After that, things shouldn't get out of sync. Any idea how that happened in the first place? On Friday, April 24, 2015 at 8:54:19 AM UTC

Re: Database and migrations are out of sync.

2015-04-24 Thread Tim Graham
I don't think so. When you create your initial migrations, you need to ensure they match the scheme of your database. After that, things shouldn't get out of sync. Any idea how that happened in the first place? On Friday, April 24, 2015 at 8:54:19 AM UTC-4, Андрей Лукьянов wrote: > > Hi everyone

Database and migrations are out of sync.

2015-04-24 Thread Андрей Лукьянов
Hi everyone. In my current project there is a great confusion of migrations and it often ends up in an error when I try to apply migrations because the fields the migrate tries to create are already in the database. Is there any way for migrate to create fields that are not in the database and s