Hi,

>...and what happens if these methods are called and the tables already 
>exist?
>  
>
With metadata.create_all, it only creates ones that don't exist. 
table.create() will error, or if you use the checkfirst option, will do 
nothing.

>What if they exist but don't match the spec that SA has created?
>  
>
SA doesn't know, so it continues until you hit a problem.

We should really pull the code in tg-admin sql out into a standalone 
script. I think having a model vs database diff function would help you 
out a lot.

Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to