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 [email protected] 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 the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/7c532145-073b-4007-a75d-56ae1e7d2b5bo%40googlegroups.com.