Write a maintenance script to permanently delete soft-deleted rows after x hours