actually, I am iterating through all the databases in the meta

 ti = model.meta.table_iterator()
    for t in ti:
        print "create %s ?" % t
        if raw_input("Choose [Y/n]").lower() in ['y','']:
            t.create()

I want to be able to chose which database to create from a pool on
database models



On Jun 12, 8:47 pm, Michael Bayer <[EMAIL PROTECTED]> wrote:
> youre going to want to access your "metadata" object and say
> "metadata.create_all()". you have a "users" table that hasnt been
> created in your database upon which your user_roles table depends.


--~--~---------~--~----~------------~-------~--~----~
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