Commit e634982
committed
Add onDelete CASCADE to AbstractPageData.page_id FK
Without this, the fixture purger cannot delete Pages while AbstractPageData rows
still reference them via page_id (PostgreSQL RESTRICT default). CASCADE is the
correct semantic: a PageData without its template Page is meaningless and should
be removed with it.1 parent a209f81 commit e634982
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments