Commit 2c196e0
committed
bug #451 Delete all post/tag entries on delete a Post (yceruto, javiereguiluz)
This PR was merged into the master branch.
Discussion
----------
Delete all post/tag entries on delete a Post
We can't use cascade delete constraint in this case because Foreign key support is not enabled in SQLite by default. (https://www.sqlite.org/foreignkeys.html#fk_enable)
More information about it:
- doctrine/dbal#2104
- doctrine/dbal#1204
So my only one solution was to clear this relations manually.
Commits
-------
644d792 Updated the help note
6e1396e Delete all post/tag entries on delete Post1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
180 | 185 | | |
181 | 186 | | |
182 | 187 | | |
| |||
0 commit comments