Skip to content

Commit

Permalink
Purge subscriptions as we purge orders
Browse files Browse the repository at this point in the history
  • Loading branch information
mbryzek committed Jun 22, 2024
1 parent 3e2dc3e commit e6d65bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/app/processor/PurgeDeletedProcessor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 3 additions & 1 deletion generated/app/ApicollectiveApibuilderTaskV0MockClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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()

}

}
}

0 comments on commit e6d65bd

Please sign in to comment.