Thanks Jim. <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 Tue, Dec 8, 2020 at 4:50 PM Jim S <ato.st...@gmail.com> wrote: > I believe it will then perform the migration, but instead of running the > migrations on the database, it will just update the files in /databases. > > -Jim > > On Tuesday, December 8, 2020 at 2:07:12 AM UTC-6 Jonsubs wrote: > >> Hi Jim, >> Just one question, what happens when you set migrate=True and >> fake_migrate=True at the same time? >> Thanks, Jon. >> >> On Mon, Dec 7, 2020 at 8:47 PM Jim S <ato....@gmail.com> wrote: >> >>> Can you try setting migrate=True, fake_migrate=True and >>> fake_migrate_all=True in the new repo? >>> >>> either that, or copy the databases directory over from old repo to the >>> new repo. >>> >>> -Jim >>> >>> On Monday, December 7, 2020 at 9:10:06 AM UTC-6 Jonsubs wrote: >>> >>>> Oh, I forgot to comment (and I believe it may be relevant) that I'm >>>> using a MySQL database. >>>> >>>> And when I try to add a new column to a previously defined table >>>> (defined and created originally in another repo) I do get the error below: >>>> >>>> InternalError: (1054, u"Unknown column 'tag.in_between' in 'field list'") >>>> >>>> I'd really appreciate some guidance on this, as I'm going literally >>>> nuts with all the migration, frake migration, sql.log and tables >>>> business... >>>> Thanks, Jon. >>>> >>>> On Mon, Dec 7, 2020 at 2:03 PM Jon Subscripted <jonsubsc...@gmail.com> >>>> wrote: >>>> >>>>> Hi all, >>>>> I want to change the main repo copy from which I work but when I do it >>>>> I'm not longer capable of modifying the database. BTW the old and new repo >>>>> are not in the same machine. >>>>> >>>>> *My "sql.log" and every ".table" file are uploaded to the repo. >>>>> *The old repo has migrations enabled (both in db.py and table >>>>> definitions). >>>>> *The new repo has migrations disabled and fake migrations enabled >>>>> (both in db.py and table definitions). >>>>> >>>>> I want to be able to change the DB from the new repo (in the new >>>>> machine). How can I change my database changing repo? Which are the steps >>>>> to follow? >>>>> Thanks, Jon. >>>>> >>>> -- >>> >> 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+un...@googlegroups.com. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/web2py/26ef26f8-164f-4827-a8ae-22944aeedd12n%40googlegroups.com >>> <https://groups.google.com/d/msgid/web2py/26ef26f8-164f-4827-a8ae-22944aeedd12n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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/07cde59e-207c-4567-bc85-a09efc6f618bn%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/07cde59e-207c-4567-bc85-a09efc6f618bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > <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> -- 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/CAK8tz33nYU6VtwCD18ExLBUqZvxVDHA5sHtoB%3DTtjZ%3DYBQ8X9g%40mail.gmail.com.