mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 13:18:35 +00:00
* Adding unique constraint for activity ap_id. Fixes #1878 * Removing is_activity_already_known
5 lines
170 B
SQL
5 lines
170 B
SQL
alter table activity alter column ap_id drop not null;
|
|
|
|
create unique index idx_activity_unique_apid on activity ((data ->> 'id'::text));
|
|
|
|
drop index idx_activity_ap_id;
|