]> Untitled Git - lemmy.git/commit
Adding unique constraint for activity ap_id. Fixes #1878 (#1935)
authorDessalines <dessalines@users.noreply.github.com>
Mon, 22 Nov 2021 18:57:03 +0000 (13:57 -0500)
committerGitHub <noreply@github.com>
Mon, 22 Nov 2021 18:57:03 +0000 (18:57 +0000)
commit3d08e6c1fc30683c5b575c751a8f6a6bca0fc7ee
tree651415f08a8a78445e0106e3acf9e01ccba6b209
parent76c43780112e2aec0d9250f79adba8c307734601
Adding unique constraint for activity ap_id. Fixes #1878 (#1935)

* Adding unique constraint for activity ap_id. Fixes #1878

* Removing is_activity_already_known
crates/apub/src/activities/community/announce.rs
crates/apub/src/http/mod.rs
crates/db_schema/src/impls/activity.rs
crates/db_schema/src/schema.rs
crates/db_schema/src/source/activity.rs
migrations/2021-11-22-135324_add_activity_ap_id_index/down.sql [new file with mode: 0644]
migrations/2021-11-22-135324_add_activity_ap_id_index/up.sql [new file with mode: 0644]