Wipe all data but keeping projects

We use Sentry for >1 year but as the cleanup were not set, the PG database is now huge and cleanup too slow.
It takes between 4 and 20 hours to clean 1 day…

I could restart from a fresh install but I want to keep users, projects, key…

Is there a quick way to wipe all issues directly from PG database, like which tables I should truncate and which ones I should keep ?

Thanks!