Remove deleted items from db

Is it safe to remove the deleted lines (invoices, clients, API keys, …) from the database?

Hi,

No, we strongly advise against making any manual changes to the database.

1 Like

OK, and is there an artisan command to remove the trash?

I don’t believe so, @david can you please advise?

As @hillel mentions never modify / remove data from the database.

Within the app you can purge clients, this will safely destroy those records permanently.

You can also use the Purge Data button in Settings > Account Management to remove all data .

OK thanks, but no invoices?

It would be nice if deleted record could be purged

1 Like

Maybe that’s something for an Artisan command? With the number of days as parameter.