Hi all,
I copied the ".table" files from old_app to new_app and I could perform the
switch correctly.

Is it a good practice to keep this files in the code repo also?
Thanks, Jon.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Libre
de virus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Apr 29, 2020 at 1:02 PM Jon Subscripted <jonsubscripti...@gmail.com>
wrote:

> Hi everyone,
> I have 2 apps that were using the same DB (lets call them old_app and
> new_app).
>
> As the old_app created the DB, old_app had the migrations enabled and
> new_app had the migrations disabled.
>
> Both apps diverged and I would like to do it the other way round. new_app
> migrations enabled and old_app migrations disabled.
>
> I tried but I do get InternalError: (1050, u"Table 'XXX' already exists").
>
> Which steps should I use to switch migration from old_app to new_app
> control and prevent this error?
>
> Thanks, Jon.
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  Libre
> de virus. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_7478608142645465753_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAK8tz30VPJcWsiB_9v%2BD2n0NLkiDvv-BOkBRjHOA%2BjfnFQXTPQ%40mail.gmail.com.

Reply via email to