Does anyone know of an easy way to do db.drop_all() and ignore foreign keys 
using flask mysqlalchemy?

I always get foreign key errors when I try to do this (I often drop all and 
create all when working on my models). I'm sure I could write a script to 
step through each table and drop their dependencies first, but I imagined 
there's probably an easier way.

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to