Ticket #165 (closed defect: fixed)
ORM does not cascade delete
|Reported by:||pavera@…||Owned by:||andrew|
Built a data migration which deletes some rows. The rows are referenced from other tables, and I get the following error:
psycopg2.IntegrityError?: update or delete on table "category" violates foreign key constraint "reward_category_category_id_fkey" on table "reward_category"
DETAIL: Key (id)=(10025) is still referenced from table "reward_category".
- Status changed from new to assigned
- Version set to subversion
- Milestone set to 0.6