Hi Dave,

Ok, that fake_migration only creates *.tables file i did not know....
Migrate True only one time .. that i knew but for some reason only 1 table 
is created from the 25+ so something is wrong.

Don't know what yet



Op donderdag 12 september 2019 10:49:15 UTC+2 schreef Dave S:
>
>
>
> On Wednesday, September 11, 2019 at 1:55:04 PM UTC-7, Steve wrote:
>>
>> Hi Dave,
>>
>> After performing a Fake_migration_all=True the Db files where created in 
>> de app/databases folder.
>> So, in de admin i can see all of the tables.....
>>
>> But, unfortunatly the tables where NOT created in the MySQL database.
>> I can't find ou why not or how to fix this.
>>
>>
> fake_migration ONLY creates *.table files, and is primarily for already 
> existing tables (e.g., legacy) DBs.  To create an actual DB table requires 
> migration rather than fake_migration.  And as Niphlod has often pointed 
> out, migrate=True only needs to be set for one access, and then you turn it 
> back off.
>
> /dps
>  
>

-- 
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/d70f19b2-1f97-49ca-9c8b-5b1da7b02db8%40googlegroups.com.

Reply via email to