In c.py I perform create/drop tables.

    a.a_metadata.drop_all(bind=db)
    a.a_metadata.create_all(bind=db)

On d.py I only insert data into those tables.  But when I run d.py,
tables are recreated(and old data is lost) and new data is inserted.
Not sure why tables are recreated even though I only import A, B
models from module C to module D?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to