mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 12:51:18 +00:00
6 lines
170 B
MySQL
6 lines
170 B
MySQL
|
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;
|