Hi!
Hi have a similar problem using
table reflection a la sqlsoup. My DB Backend ist postgresql 8.3.
I have a many to many relation:
orms5=# \d project_programming_language
Table "public.project_programming_language"
Column | Type | Modifiers
-------------------------+---------+-----------
project_id | integer | not null
programming_language_id | integer | not null
Indexes:
"projprogpkconstraint" PRIMARY KEY, btree (project_id,
programming_language_id)
Foreign-key constraints:
"programmierspracheconstraint" FOREIGN KEY
(programming_language_id) REFERENCES
programming_language(programming_language_id) ON DELETE CASCADE
"projektconstraint" FOREIGN KEY (project_id) REFERENCES
project(project_id) ON DELETE CASCADE
I got the same message, when delete an object of the table
programming_language:
Dependency rule tried
to blank-out primary key column
As you can see, the foreign key constraints in the db work fine:
I can drop the row via a
DELETE
statement in sql.
Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
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
-~----------~----~----~----~------~----~------~--~---