2023-08-02 12:44:51 -04:00
|
|
|
ALTER TABLE activity
|
|
|
|
ALTER COLUMN ap_id DROP NOT NULL;
|
2021-11-22 13:57:03 -05:00
|
|
|
|
2023-08-02 12:44:51 -04:00
|
|
|
CREATE UNIQUE INDEX idx_activity_unique_apid ON activity ((data ->> 'id'::text));
|
|
|
|
|
|
|
|
DROP INDEX idx_activity_ap_id;
|
2021-11-22 13:57:03 -05:00
|
|
|
|