-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
featuresqlalchemy.extextension modules, most of which are ORM relatedextension modules, most of which are ORM related
Milestone
Description
Migrated issue, originally created by yoch (@yoch)
I'm use automap_base() to reflect existing MySQL database into the ORM.
There are some Foreign Key constraints which intended to cascade deletions, but the child rows are not deleted.
If we add an NOT NULL constraint on these rows, I got Integrity violation error, because SQLAlchemy try to set IDs to NULL instead of delete them : "UPDATE gestion_horaire SET idscenario=%s WHERE gestion_horaire.id = %s' (None, 41L)"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featuresqlalchemy.extextension modules, most of which are ORM relatedextension modules, most of which are ORM related