mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 05:47:32 +00:00
7a5cb80569
* fix(projections): delete app on remove project event * test(projection): project removed event in app * more effitient mig
7 lines
187 B
SQL
7 lines
187 B
SQL
DELETE FROM zitadel.projections.apps
|
|
WHERE project_id IN (
|
|
SELECT aggregate_id
|
|
FROM eventstore.events
|
|
WHERE aggregate_type = 'project' AND event_type = 'project.removed'
|
|
);
|