diff options
author | Andrew Godwin | 2022-11-25 18:32:45 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-25 18:32:45 -0700 |
commit | 1cf1f2e5430e1946b6f7520e4d339de82a392c21 (patch) | |
tree | 7b98e05795153868fe3a6d53e0633b7b4d8d5684 /activities/migrations | |
parent | 5fe5f0495518e43aa4ab9f6831c4bc27a0be9458 (diff) | |
download | takahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.tar.gz takahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.tar.bz2 takahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.zip |
Implement user discoverability
Diffstat (limited to 'activities/migrations')
-rw-r--r-- | activities/migrations/0001_initial.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activities/migrations/0001_initial.py b/activities/migrations/0001_initial.py index 19f3026..82a9085 100644 --- a/activities/migrations/0001_initial.py +++ b/activities/migrations/0001_initial.py @@ -83,7 +83,7 @@ class Migration(migrations.Migration): ( "author", models.ForeignKey( - on_delete=django.db.models.deletion.PROTECT, + on_delete=django.db.models.deletion.CASCADE, related_name="posts", to="users.identity", ), @@ -257,6 +257,8 @@ class Migration(migrations.Migration): models.CharField( choices=[ ("post", "Post"), + ("post_edited", "Post Edited"), + ("post_deleted", "Post Deleted"), ("interaction", "Interaction"), ("undo_interaction", "Undo Interaction"), ], |