diff --git a/api/app/processor/PurgeDeletedProcessor.scala b/api/app/processor/PurgeDeletedProcessor.scala index d22420295..cebd79272 100644 --- a/api/app/processor/PurgeDeletedProcessor.scala +++ b/api/app/processor/PurgeDeletedProcessor.scala @@ -61,6 +61,7 @@ class PurgeDeletedProcessor @Inject()( delete(Table.guid("public", "organization_domains"))(_.equals("organization_guid", row.pkey)) delete(Table.guid("public", "organization_logs"))(_.equals("organization_guid", row.pkey)) delete(Table.guid("public", "applications"))(_.equals("organization_guid", row.pkey)) + delete(Table.guid("public", "subscriptions"))(_.equals("organization_guid", row.pkey)) } debug("done") diff --git a/generated/app/ApicollectiveApibuilderTaskV0MockClient.scala b/generated/app/ApicollectiveApibuilderTaskV0MockClient.scala index a73236172..b47ce8414 100644 --- a/generated/app/ApicollectiveApibuilderTaskV0MockClient.scala +++ b/generated/app/ApicollectiveApibuilderTaskV0MockClient.scala @@ -49,6 +49,8 @@ package io.apibuilder.task.v0.mock { guid = _root_.java.util.UUID.randomUUID ) + def makeEmailData(): io.apibuilder.task.v0.models.EmailData = io.apibuilder.task.v0.mock.Factories.makeEmailDataApplicationCreated() + } -} +} \ No newline at end of file