You still have migrate set to False in your appconfig.ini. -Jim
On Wed, Aug 26, 2020 at 10:14 AM Andrea Fae' <and...@gmail.com> wrote: > Thank you for your suggestions...Like this (see attaached files)? > but, no way, no .tables created...I don't know why... > > Il giorno mercoledì 26 agosto 2020 14:46:05 UTC+2, Jim S ha scritto: >> >> Did you remove the apostrophe at the bottom as well? >> >> I haven't used migrate / fake migrate in the past the way that you are >> implementing. >> >> Are you intentionally trying to set it by table? >> >> For me, on my DAL statement I'd include: >> >> migrate_enabled=myconf.get('db.migrate') >> fake_migrate_all=myconf.get('db.fake_migrate_all') >> >> >> then in appconfig.ini I'd have: >> >> [db] >> uri = mssql4://sa/Web2PyPassword@TS-SQL2016R2/itassetdb >> migrate = True >> fake_migrate_all = True >> >> >> >> Can you try that and see if it helps? >> >> Also, I'd remove all the migrate stuff from auth and all the individual >> tables. I just set it globally, but that may be a personal preference kind >> of thing. >> >> -Jim >> >> On Wednesday, August 26, 2020 at 1:32:13 AM UTC-5, Andrea Fae' wrote: >>> >>> Hello, thank you for your answer. >>> I deleted the character but nothing changes. >>> Best regards >>> Andrea >>> >>> Il giorno lunedì 24 agosto 2020 12:39:47 UTC+2, Clemens ha scritto: >>>> >>>> Hi, >>>> >>>> I'm not very deep in your issue. But opening your appconfig.ini with my >>>> default editor shows that the apostrophe in your authors value could be a >>>> problem: >>>> >>>> [image: Untitled.jpg] >>>> >>>> Thus, just delete it and have try. If it doesn't change anything, >>>> please let me know and I will have a closer look. >>>> >>>> Best regards >>>> Clemens >>>> >>>> >>>> >>>> >>>> On Monday, August 24, 2020 at 11:18:32 AM UTC+2 and...@gmail.com wrote: >>>> >>>>> Hello, if I chose migrate= False and fake_migrate=True the .tables in >>>>> databases folder are not created. >>>>> Why? >>>>> I'm attaching appconfig.ini and py.db and my custom db db_asset.py >>>>> Thank you >>>>> >>>> -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/PLIV6cNvRnc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/e1702e2a-1c5f-4d0b-a27b-67cece00d923o%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/e1702e2a-1c5f-4d0b-a27b-67cece00d923o%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/CAERBpoC3T1bUdh%3DjoMp4GXDwdT3ZwbpS6cau4PsJQ6mu3Ud2uQ%40mail.gmail.com.