mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-10 16:15:12 +00:00
fix(projections): delete app on remove project event (#2772)
* fix(projections): delete app on remove project event * test(projection): project removed event in app * more effitient mig
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
DELETE FROM zitadel.projections.apps
|
||||
WHERE project_id IN (
|
||||
SELECT aggregate_id
|
||||
FROM eventstore.events
|
||||
WHERE aggregate_type = 'project' AND event_type = 'project.removed'
|
||||
);
|
||||
Reference in New Issue
Block a user