plc-mirror/db-migration/migrations/20240506_export_optouts.sql

6 lines
259 B
MySQL
Raw Normal View History

2024-05-07 02:04:57 +02:00
drop materialized view export_optouts;
create materialized view export_optouts
as select did as "did:ID" from repos as r inner join records_block as rb on r.id=rb.repo where rb.content['subject']::text like '%did:plc:qevje4db3tazfbbialrlrkza%'
with no data;