We can turn on 'PRAGMA foreign_key = on' when running sqlite3 database system 
manually.  However it is not a convenient way. So I wonder when I run the 
migration script using sqlalchemy and alembic tool, targeting sqlite3, is there 
a way to enforce the foreign key constraint in the migration script, or 
configuration script. 

Thanks and best regards!
 

-- 
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/-/1yFO9uPPXKQJ.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to