Thank you Audrius.Maybe when I ran 'alembic upgrade head', 'PRAGMA 
foreign_keys' value of the current sqlite DB connection was already changed to 
1 which I need to test in a python code. However when I manually logged in by 
typing 'sqlite3 mydb', this is another connection, so the 'PRAGMA foreign_keys' 
value became '0' again. Not sure if I am correct about that?

Thanks a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/b8mpGmur30YJ.
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/sqlalchemy?hl=en.

Reply via email to