DB Ownership / Wiping out Production

Is there any difference in terms of what gets deleted?

I’d like to keep theme changes and settings, and delete only users, post data, etc. Does this method differ from the rake commands in terms of how much it recreates?

I don’t mind losing everything if necessary, I can redo the cosmetic changes, I am just asking.